mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 05:14:46 +02:00
Update release workflow for new parameter format (#363)
action-gh-release combined their artifact uploader action with their create release action. Combine these into a single step.
This commit is contained in:
parent
3ac23d1514
commit
9184441763
25
.github/workflows/release.yaml
vendored
25
.github/workflows/release.yaml
vendored
@ -60,25 +60,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
draft: true
|
draft: true
|
||||||
prerelease: ${{ contains(github.ref, 'rc') || contains(github.ref, 'beta') || contains(github.ref, 'alpha') }}
|
prerelease: ${{ contains(github.ref, 'rc') || contains(github.ref, 'beta') || contains(github.ref, 'alpha') }}
|
||||||
|
files: |
|
||||||
- name: Upload release archive
|
panel.tar.gz
|
||||||
id: upload-release-archive
|
checksum.txt
|
||||||
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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user