From dfaa8530e153f0eab8042bace41c9a531429c939 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Fri, 20 Mar 2026 17:20:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BE=9E=E4=B8=8D=E5=90=8C=E7=9A=84?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E7=9B=AE=E9=8C=84=E5=8F=96=E5=BE=97=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E6=AA=94=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/master.yaml | 3 ++- entrypoint.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/master.yaml b/.gitea/workflows/master.yaml index e590631..71d8e6b 100644 --- a/.gitea/workflows/master.yaml +++ b/.gitea/workflows/master.yaml @@ -28,7 +28,8 @@ jobs: uses: https://gitea.jsc.idv.tw/actions/calculate-version@v0.1.9 - name: 輸出版本號 id: version - run: cat $GITHUB_WORKSPACE/VERSION.txt >> $GITHUB_OUTPUT + run: cat VERSION.txt >> $GITHUB_OUTPUT + workspace: ${{ github.workspace }} test: name: "TEST > 測試專案" runs-on: docker diff --git a/entrypoint.sh b/entrypoint.sh index 42f5598..afe41b1 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -71,4 +71,4 @@ PATCH=$((PATCH + 1)) NEW_VERSION="$MAJOR.$MINOR.$PATCH" && echo "NEW_VERSION=$NEW_VERSION" # 將版本輸出到環境變數 -echo "version=$NEW_VERSION" > "$GITHUB_WORKSPACE/VERSION.txt" \ No newline at end of file +echo "version=$NEW_VERSION" > VERSION.txt \ No newline at end of file -- 2.48.1