parent
94fdcbaa53
commit
985f7078bb
|
|
@ -211,6 +211,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
- name: Set release tag as date
|
- name: Set release tag as date
|
||||||
id: vars
|
id: vars
|
||||||
run: echo "tag=release-$(TZ='Asia/Shanghai' date +'%Y%m%d%H%M%S')" >> $GITHUB_OUTPUT # 包含$GITHUB_ENV 的作用域,全steps也可访问
|
run: echo "tag=release-$(TZ='Asia/Shanghai' date +'%Y%m%d%H%M%S')" >> $GITHUB_OUTPUT # 包含$GITHUB_ENV 的作用域,全steps也可访问
|
||||||
|
|
@ -293,5 +295,12 @@ jobs:
|
||||||
files: |-
|
files: |-
|
||||||
./release/**
|
./release/**
|
||||||
- run: ls -R ./release/
|
- run: ls -R ./release/
|
||||||
|
- name: Use Go Action
|
||||||
|
id: use-go-action
|
||||||
|
uses: https://gitea.com/actions/release-action@main
|
||||||
|
with:
|
||||||
|
files: |-
|
||||||
|
release/**
|
||||||
|
#api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue