Skip to content

Commit

Permalink
added build step before release in snapshot and release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
testersen committed Nov 7, 2023
1 parent 15637d9 commit 992b082
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ jobs:
with:
distribution: temurin
java-version: 17
- name: Build
env:
VERSION: ${{ needs.versioning.outputs.version }}
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ github.token }}
run: ./gradlew build
- name: Release (packages)
env:
VERSION: ${{ needs.versioning.outputs.version }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jobs:
with:
distribution: temurin
java-version: 17
- name: Build
env:
VERSION: ${{ needs.versioning.outputs.version }}
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ github.token }}
run: ./gradlew build
- name: Release (packages)
env:
VERSION: ${{ needs.versioning.outputs.version }}
Expand Down

0 comments on commit 992b082

Please sign in to comment.