mirror of
https://github.com/Wanxp/obsidian-douban.git
synced 2026-04-04 16:48:44 +08:00
test 增加提交发布功能
This commit is contained in:
parent
431c1f2564
commit
29322e0869
12
.github/workflows/release-draft.yml
vendored
12
.github/workflows/release-draft.yml
vendored
@ -68,7 +68,9 @@ jobs:
|
|||||||
asset_path: ./main.js
|
asset_path: ./main.js
|
||||||
asset_name: main.js
|
asset_name: main.js
|
||||||
asset_content_type: application/javascript
|
asset_content_type: application/javascript
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
VERSION: ${{ env.VERSION }}
|
||||||
- name: Upload manifest.json
|
- name: Upload manifest.json
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
with:
|
with:
|
||||||
@ -76,7 +78,9 @@ jobs:
|
|||||||
asset_path: ./manifest.json
|
asset_path: ./manifest.json
|
||||||
asset_name: manifest.json
|
asset_name: manifest.json
|
||||||
asset_content_type: application/json
|
asset_content_type: application/json
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
VERSION: ${{ env.VERSION }}
|
||||||
- name: Upload style.css
|
- name: Upload style.css
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
with:
|
with:
|
||||||
@ -84,6 +88,8 @@ jobs:
|
|||||||
asset_path: ./style.css
|
asset_path: ./style.css
|
||||||
asset_name: style.css
|
asset_name: style.css
|
||||||
asset_content_type: text/css
|
asset_content_type: text/css
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
VERSION: ${{ env.VERSION }}
|
||||||
- name: Output release message
|
- name: Output release message
|
||||||
run: echo "发布预发布版本${{ env.VERSION }}正常"
|
run: echo "发布预发布版本${{ env.VERSION }}正常"
|
||||||
Loading…
Reference in New Issue
Block a user