Skip to content

Commit

Permalink
Replace deprecated upload release asset action (#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
satterly authored Apr 11, 2024
1 parent 2687e4a commit f81a02f
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,24 +62,16 @@ jobs:
prerelease: false
- name: Upload Zip File
id: upload-zip-file
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v2
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: ./alerta-webui.zip
asset_name: alerta-webui.zip
asset_content_type: application/zip
token: ${{ secrets.GITHUB_TOKEN }}
files: ./alerta-webui.zip
- name: Upload Compressed TAR File
id: upload-tarball
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v2
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: ./alerta-webui.tar.gz
asset_name: alerta-webui.tar.gz
asset_content_type: application/gzip
token: ${{ secrets.GITHUB_TOKEN }}
files: ./alerta-webui.tar.gz

- uses: act10ns/slack@v2
with:
Expand Down

0 comments on commit f81a02f

Please sign in to comment.