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 6f7b7ee commit 604aaf3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,11 @@ jobs:
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: Set up Maven 3.9.6
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.6

- name: Display Maven Version
run: mvn -v

Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Quarkiverse Release

on:
pull_request:
types: [closed]
types: [ closed ]
paths:
- '.github/project.yml'

Expand Down Expand Up @@ -30,18 +30,23 @@ jobs:

- uses: actions/checkout@v4

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
java-version: 21
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: Set up Maven 3.9.6
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.6

- name: Configure Git author
run: |
git config --local user.email "[email protected]"
Expand Down

0 comments on commit 604aaf3

Please sign in to comment.