fix release step on CI
This commit is contained in:
parent
3146144733
commit
6bc5d4468d
7
.github/workflows/Release.yml
vendored
7
.github/workflows/Release.yml
vendored
|
|
@ -24,6 +24,9 @@ jobs:
|
|||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: ${{ github.ref }}
|
||||
- name: Get version
|
||||
id: get_version
|
||||
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
|
||||
- name: Upload release asset
|
||||
id: upload_release_asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
|
|
@ -31,6 +34,6 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./blessing-skin-server-${{ github.ref }}.zip
|
||||
asset_name: blessing-skin-server-${{ github.ref }}.zip
|
||||
asset_path: ./blessing-skin-server-${{ steps.get_version.outputs.VERSION }}.zip
|
||||
asset_name: blessing-skin-server-${{ steps.get_version.outputs.VERSION }}.zip
|
||||
asset_content_type: application/zip
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user