test: 將版本檔案放到共用資料夾 #36
@@ -10,7 +10,7 @@ jobs:
|
|||||||
- name: 發布專案
|
- name: 發布專案
|
||||||
uses: akkuman/gitea-release-action@${{ vars.ACTION_RELEASE_VERSION }}
|
uses: akkuman/gitea-release-action@${{ vars.ACTION_RELEASE_VERSION }}
|
||||||
with:
|
with:
|
||||||
tag_name: "v0.1.8"
|
tag_name: "v0.1.9"
|
||||||
- name: 清理舊版本 (保留最新2個)
|
- name: 清理舊版本 (保留最新2個)
|
||||||
uses: https://gitea.jsc.idv.tw/actions/cleanup-release@${{ vars.ACTION_CLEANUP_RELEASE_VERSION }}
|
uses: https://gitea.jsc.idv.tw/actions/cleanup-release@${{ vars.ACTION_CLEANUP_RELEASE_VERSION }}
|
||||||
with:
|
with:
|
||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
version: ${{ steps.version.outputs.version }}
|
version: ${{ steps.version.outputs.version }}
|
||||||
steps:
|
steps:
|
||||||
- name: 計算版本號
|
- name: 計算版本號
|
||||||
uses: https://gitea.jsc.idv.tw/actions/calculate-version@v0.1.8
|
uses: https://gitea.jsc.idv.tw/actions/calculate-version@v0.1.9
|
||||||
- name: 輸出版本號
|
- name: 輸出版本號
|
||||||
id: version
|
id: version
|
||||||
run: cat VERSION.txt >> $GITHUB_OUTPUT
|
run: cat VERSION.txt >> $GITHUB_OUTPUT
|
||||||
|
|||||||
Reference in New Issue
Block a user