Skip to content

Commit

Permalink
Should fix releases (#42)
Browse files Browse the repository at this point in the history
* Should fix releases

* Setup signing on its own phase
  • Loading branch information
StrongestNumber9 authored Jun 24, 2024
1 parent 1eecec2 commit 91fafd9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,20 @@ jobs:
echo "Flushing privileges"
mysql -u root -h127.0.0.1 -P${MARIADB_PORT} <<< "flush privileges;"
- name: Setup Signing
uses: actions/setup-java@v2
with:
java-version: 8.0.292+10
distribution: 'adopt'
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Setup GitHub Packages
uses: actions/setup-java@v2
with:
java-version: 8.0.292+10
distribution: 'adopt'
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Generate sources
run: mvn -B -Drevision=${{ github.event.release.tag_name }} -Dsha1= -Dchangelist= generate-sources
Expand All @@ -63,3 +72,4 @@ jobs:
run: mvn -Pbuild-nogenerate,publish-github-packages -B -Drevision=${{ github.event.release.tag_name }} -Dsha1= -Dchangelist= clean deploy
env:
GITHUB_TOKEN: ${{ github.token }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

0 comments on commit 91fafd9

Please sign in to comment.