From 49bb8c2dc4141b2c1d9ff99a53f2ec2aea441381 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Fri, 26 Jun 2026 15:12:37 +0000 Subject: [PATCH] =?UTF-8?q?refactor(release-tag-version):=20=E7=B5=B1?= =?UTF-8?q?=E4=B8=80=E7=89=88=E6=9C=AC=E8=A8=88=E7=AE=97=E6=AD=A5=E9=A9=9F?= =?UTF-8?q?=20id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index ccd5b6a..a1479fc 100644 --- a/action.yml +++ b/action.yml @@ -18,17 +18,17 @@ runs: using: 'composite' steps: - name: 版本號計算 - id: version-calculate + id: calculate-version uses: https://gitea.jsc.idv.tw/docker-actions/calculate-version@${{ vars.ACTION_CALCULATE_VERSION }} with: is_debug: ${{ inputs.is_debug }} - name: 組合釋出參數 id: release-params - if: ${{ steps.version-calculate.outputs.version != '' }} + if: ${{ steps.calculate-version.outputs.version != '' }} run: | repository="${{ gitea.repository }}" - version_value="${{ steps.version-calculate.outputs.version }}" + version_value="${{ steps.calculate-version.outputs.version }}" if [[ ! "$version_value" =~ ^[0-9]+(\.[0-9]+)*([._-][0-9A-Za-z]+)*$ ]]; then echo "version-calculate output version has invalid format: ${version_value}" >&2 @@ -40,7 +40,7 @@ runs: shell: bash - name: 檢查版本號輸出 - if: ${{ steps.version-calculate.outputs.version == '' }} + if: ${{ steps.calculate-version.outputs.version == '' }} run: | echo "version-calculate output version is empty" >&2 exit 1