forked from um/web
Update GitHub CI
This commit is contained in:
parent
7a5cefd950
commit
b93b93110b
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -40,6 +40,10 @@ jobs:
|
|||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./dist
|
publish_dir: ./dist
|
||||||
|
|
||||||
|
- name: Get current time
|
||||||
|
id: date
|
||||||
|
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
|
||||||
|
|
||||||
- name: Create a Release
|
- name: Create a Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
@ -47,7 +51,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.ref }}
|
tag_name: ${{ github.ref }}
|
||||||
release_name: "Build $(date %Y/%m/%d)"
|
release_name: "Build ${{ steps.date.outputs.date }}"
|
||||||
draft: true
|
draft: true
|
||||||
|
|
||||||
- name: Upload Release Assets - legacy.tar.gz
|
- name: Upload Release Assets - legacy.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user