Compare commits
14 Commits
v0.0.7
...
3b8ff34915
| Author | SHA1 | Date | |
|---|---|---|---|
| 3b8ff34915 | |||
| 1074718eeb | |||
| e0c5466ee6 | |||
| 6b4634e8ce | |||
| b7b6747126 | |||
| bb5759aa0e | |||
| 4273223cff | |||
| 23cf44e584 | |||
| f6fa064b1f | |||
| 9407e4a134 | |||
| cfddd28be4 | |||
| e69490f7b6 | |||
| 1f81d3a887 | |||
| 8b84c5aa6a |
@@ -12,12 +12,10 @@ jobs:
|
||||
- name: 發布專案
|
||||
uses: akkuman/gitea-release-action@${{ vars.ACTION_RELEASE_VERSION }}
|
||||
with:
|
||||
tag_name: "v0.0.7"
|
||||
tag_name: "v0.0.5"
|
||||
- name: 計算版本號
|
||||
id: version
|
||||
uses: https://gitea.jsc.idv.tw/actions/calculate-version@v0.0.6
|
||||
with:
|
||||
RUNNER_TOKEN: ${{ secrets.RUNNER_TOKEN }}
|
||||
uses: https://gitea.jsc.idv.tw/actions/calculate-version@v0.0.5
|
||||
- name: 清理舊版本 (保留最新2個)
|
||||
uses: https://gitea.jsc.idv.tw/actions/cleanup-release@${{ vars.ACTION_CLEANUP_RELEASE_VERSION }}
|
||||
with:
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
name: 'CALCULATE VERSION'
|
||||
description: '計算版本號'
|
||||
author: 'Jeffery'
|
||||
inputs:
|
||||
RUNNER_TOKEN:
|
||||
description: 'Gitea Runner 用來存取的 Token,ex: ${{ secrets.RUNNER_TOKEN }}'
|
||||
required: true
|
||||
outputs:
|
||||
VERSION:
|
||||
description: '計算出的新版本號'
|
||||
@@ -15,4 +11,4 @@ runs:
|
||||
env:
|
||||
GITEA_SERVER_URL: ${{ gitea.server_url }}
|
||||
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||
RUNNER_TOKEN: ${{ inputs.RUNNER_TOKEN }}
|
||||
RUNNER_TOKEN: ${{ secrets.RUNNER_TOKEN }}
|
||||
Reference in New Issue
Block a user