Skip to content

Commit

Permalink
automatically publish coatjava build to github release assets
Browse files Browse the repository at this point in the history
  • Loading branch information
baltzell committed Feb 1, 2025
1 parent 7842080 commit f4853c4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,28 @@ jobs:
- name: test run-groovy
run: coatjava/bin/run-groovy validation/advanced-tests/test-run-groovy.groovy

release:
needs: [ build ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: build_ubuntu-latest
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: coatjava.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

final:
needs:
- build
- test_coatjava
- test_run-groovy
- release
runs-on: ubuntu-latest
steps:
- name: pass
Expand Down

0 comments on commit f4853c4

Please sign in to comment.