diff --git a/.gitea/workflows/master.yaml b/.gitea/workflows/master.yaml index ab25816..4d3aefe 100644 --- a/.gitea/workflows/master.yaml +++ b/.gitea/workflows/master.yaml @@ -10,7 +10,7 @@ jobs: - name: 發布專案 uses: akkuman/gitea-release-action@${{ vars.ACTION_RELEASE_VERSION }} with: - tag_name: "v0.1.4" + tag_name: "v0.1.5" - name: 清理舊版本 (保留最新2個) uses: https://gitea.jsc.idv.tw/actions/cleanup-release@${{ vars.ACTION_CLEANUP_RELEASE_VERSION }} with: @@ -22,15 +22,15 @@ jobs: runs-on: docker needs: cd outputs: - version: ${{ steps.version.outputs.VERSION }} + version: ${{ steps.version.outputs.version }} steps: - name: 計算版本號 id: version - uses: https://gitea.jsc.idv.tw/actions/calculate-version@v0.1.4 + uses: https://gitea.jsc.idv.tw/actions/calculate-version@v0.1.5 test: name: "TEST > 測試專案" runs-on: docker needs: test-calculate steps: - name: 顯示版本號 - run: echo ${{ needs.test-calculate.outputs.VERSION }} \ No newline at end of file + run: echo ${{ needs.test-calculate.outputs.version }} \ No newline at end of file diff --git a/action.yaml b/action.yaml index 5f871c4..b553afb 100644 --- a/action.yaml +++ b/action.yaml @@ -6,7 +6,7 @@ author: 'Jeffery' # description: 'Gitea Runner 用來存取的 Token,ex: ${{ secrets.RUNNER_TOKEN }}' # required: true outputs: - VERSION: + version: description: '計算出的新版本號' runs: using: 'docker'