Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace deprecated upload release asset action #580

Merged
merged 1 commit into from
Apr 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading