Bash completion for the --proxyUrl, --proxyUser and --proxyPass options #142
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Github action building the project with different versions of Java and uploading the test coverage to Coveralls. | |
name: build | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ master ] | |
env: | |
STOREPASS: password | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ 8, 11, 17, 21 ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Java ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Set up dependencies | |
run: sudo apt-get install -y ykcs11 opensc-pkcs11 | |
- name: Compile | |
run: | | |
mvn -version | |
mvn -B clean compile | |
- name: Tests | |
run: mvn -B test | |
- name: Packaging | |
run: mvn -B package -DskipTests | |
- name: Archive artifacts | |
if: ${{ matrix.java == '8' }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: jsign-artifacts | |
path: | | |
jsign/target/jsign-*.jar | |
!jsign/target/jsign-*-javadoc.jar | |
!jsign/target/jsign-*-sources.jar | |
!jsign/target/jsign-*_proguard_base.jar | |
jsign/target/*.deb | |
jsign/target/*.rpm | |
jsign-core/target/jsign-core-*.jar | |
!jsign-core/target/jsign-core-*-javadoc.jar | |
!jsign-core/target/jsign-core-*-sources.jar | |
!jsign-core/target/jsign-core-*-tests.jar | |
jsign-core/target/jsign-crypto-*.jar | |
!jsign-core/target/jsign-crypto-*-javadoc.jar | |
!jsign-core/target/jsign-crypto-*-sources.jar | |
!jsign-core/target/jsign-crypto-*-tests.jar | |
- name: Coverage report | |
if: ${{ matrix.java == '17' }} | |
run: mvn -B clean test jacoco:report-aggregate coveralls:report -DjacocoReports=jsign/target/site/jacoco-aggregate/jacoco.xml -DrepoToken=${{ secrets.COVERALLS_TOKEN }} || true | |
experimental: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 'Set up Java EA' | |
uses: oracle-actions/setup-java@v1 | |
with: | |
website: jdk.java.net | |
release: EA | |
cache: 'maven' | |
- name: Build | |
run: | | |
mvn -version | |
mvn -B clean package || true |