Skip to content

Commit

Permalink
Add the ability to publish releases
Browse files Browse the repository at this point in the history
  • Loading branch information
ndw committed Feb 9, 2023
1 parent 69c93a0 commit 72cce7f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ jobs:
run: |
./gradlew dist
- name: Publish release
uses: softprops/action-gh-release@v1
if: ${{ env.HAVE_ACCESS_TOKEN == 'true' && env.CI_BRANCH == 'main' && env.CI_TAG != '' }}
with:
draft: false
prerelease: false
fail_on_unmatched_files: true
files: |
build/distributions/*-${{ env.CI_TAG }}.zip
# FIXME: automate deploy to CDN for tagged builds
## Remember the SHA of the current build.
#SHA=$(git rev-parse --verify HEAD)
Expand Down

0 comments on commit 72cce7f

Please sign in to comment.