Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic-DallOsto committed Nov 18, 2024
1 parent 49a1273 commit d1a565d
Showing 1 changed file with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
release:
runs-on: ubuntu-latest
needs: test
# only trigger when tagged with a version
# only trigger when tagged with a version - when we are trying to make a new release
if: startsWith(github.event.ref, 'refs/tags/v')
steps:
- name: checkout
Expand Down Expand Up @@ -78,16 +78,15 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: upload update.json
uses: meeDamian/github-release@2.0
- name: release update.json
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: update
files: build/update*.json
allow_override: true
gzip: false
tag_name: release
files: build/update*.json
make_latest: false


- name: Notify release
uses: apexskier/github-release-commenter@v1
continue-on-error: true
Expand Down

0 comments on commit d1a565d

Please sign in to comment.