Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add jreleaser and workflow cleanup #127

Merged
merged 15 commits into from
Jun 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: Only publish and release on master branch
  • Loading branch information
adesjardin committed Jun 7, 2023
commit 13459349774b0c95c474c2d5410d1272c9fee745
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ jobs:
**/build/test-results/**/*.xml

- name: Stage Deployment
if: github.event_name != 'pull_request'
if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/master'}}
run: ./gradlew publish

- name: JReleaser full-Release
if: github.event_name != 'pull_request'
if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/master'}}
uses: jreleaser/release-action@v2
env:
JRELEASER_PROJECT_VERSION: ${{steps.set-version.outputs.version}}
Expand All @@ -68,7 +68,7 @@ jobs:
arguments: full-release

- name: JReleaser release output
if: always()
if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/master'}}
uses: actions/upload-artifact@v3
with:
name: jreleaser-release
Expand Down