Skip to content

Commit

Permalink
Update release workflow for new parameter format
Browse files Browse the repository at this point in the history
action-gh-release combined their artifact uploader action with their create release action.  Combine these into a single step.
  • Loading branch information
iamkubi authored Jun 10, 2024
1 parent 3ac23d1 commit eff6548
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,25 +60,6 @@ jobs:
with:
draft: true
prerelease: ${{ contains(github.ref, 'rc') || contains(github.ref, 'beta') || contains(github.ref, 'alpha') }}

- name: Upload release archive
id: upload-release-archive
uses: actions/upload-release-asset@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: panel.tar.gz
asset_name: panel.tar.gz
asset_content_type: application/gzip

- name: Upload release checksum
id: upload-release-checksum
uses: actions/upload-release-asset@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./checksum.txt
asset_name: checksum.txt
asset_content_type: text/plain
files: |
panel.tar.gz
checksum.txt

0 comments on commit eff6548

Please sign in to comment.