Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
purejava committed Jan 16, 2025
1 parent dd9839e commit 6bc6bac
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build_and_release_github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- '*'

jobs:
createrelease:
release:
name: createrelease
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
Expand Down Expand Up @@ -38,9 +38,13 @@ jobs:
env:
GPG_SIGNING_KEY_PW: ${{ secrets.GPG_PASSPHRASE }}

- name: Build and release package
run: ./gradlew clean build githubRelease
- name: Build package
run: ./gradlew clean build
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_SIGNING_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

- name: Release package
run: ./gradlew githubRelease
env:
RELEASE_GRADLE_PLUGIN_TOKEN: ${{ secrets.RELEASE_GRADLE_PLUGIN_TOKEN }}

0 comments on commit 6bc6bac

Please sign in to comment.