Skip to content

Commit

Permalink
fix build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-shellyw committed Nov 28, 2024
1 parent c5fe4ed commit fa75ce2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,22 @@ jobs:
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 7.4.2
- run: gradle distZip
run: gradle distZip

- name: Distribute Zip as lastest stable release
uses: softprops/action-gh-release@v2
with:
make_latest: true
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, 'stable')}}
with:
make_latest: true
files: |
build/distributions/*.zip
- run: gradle distZip
- name: Distribute Zip as dev release
uses: softprops/action-gh-release@v2

if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, 'dev')}}
with:
make_latest: false
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, 'dev')}}
files: |
build/distributions/*.zip

0 comments on commit fa75ce2

Please sign in to comment.