Fix GitHub CI
This commit is contained in:
parent
bb811178d4
commit
a824bf1f63
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -43,14 +43,17 @@ jobs:
|
|||||||
- name: Create a Release
|
- name: Create a Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
tag_name: ${{ github.ref }}
|
||||||
release_name: "Build $(date %Y/%m/%d)"
|
release_name: "Build $(date %Y/%m/%d)"
|
||||||
draft: true
|
draft: true
|
||||||
|
|
||||||
- name: Upload Release Assets - legacy.tar.gz
|
- name: Upload Release Assets - legacy.tar.gz
|
||||||
uses: actions/upload-release-asset@v1.0.2
|
uses: actions/upload-release-asset@v1.0.2
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: ./legacy.tar.gz
|
asset_path: ./legacy.tar.gz
|
||||||
@ -60,7 +63,7 @@ jobs:
|
|||||||
- name: Upload Release Assets - legacy.zip
|
- name: Upload Release Assets - legacy.zip
|
||||||
uses: actions/upload-release-asset@v1.0.2
|
uses: actions/upload-release-asset@v1.0.2
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: ./legacy.zip
|
asset_path: ./legacy.zip
|
||||||
|
Loading…
Reference in New Issue
Block a user