Skip to content

Commit

Permalink
Updated build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddie Carpenter committed Aug 17, 2024
1 parent 3de8436 commit 3c9694c
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fail-fast: false
matrix:
# os: [windows-latest, macos-latest, ubuntu-latest]
os: [ubuntu-latest]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Prepare git
Expand All @@ -53,28 +53,30 @@ jobs:
java-version: 21
maven-version: 3.9.6
cache: 'maven'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Display settings.xml
run: |
cat /home/runner/.m2/settings.xml
- name: Configure GPG Key
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
run: |
echo -n "$GPG_PRIVATE_KEY"
echo -n "$GPG_PRIVATE_KEY" | base64 --decode | gpg --import
# - name: Configure GPG Key
# env:
# GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
# run: |
# echo -n "$GPG_PRIVATE_KEY"
# echo -n "$GPG_PRIVATE_KEY" | base64 --decode | gpg --import

- name: Set up Maven 3.9.6
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.6

- name: Display Maven Version
- name: Display Maven Version
run: mvn -v

- name: Build with Maven
run: mvn -B clean install -Dno-format

- name: Build with Maven (Native)
run: mvn -B install -Dnative -Dquarkus.native.container-build -Dnative.surefire.skip

0 comments on commit 3c9694c

Please sign in to comment.