diff --git a/action.yaml b/action.yaml index d6575ad..6588104 100644 --- a/action.yaml +++ b/action.yaml @@ -1,9 +1,6 @@ name: 'CALCULATE VERSION' description: '計算版本號' author: 'Jeffery' -outputs: - version: - description: '計算出的版本號' runs: using: 'docker' image: 'Dockerfile' diff --git a/entrypoint.sh b/entrypoint.sh index 8da141c..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" > /workspace/VERSION.txt \ No newline at end of file +echo "version=$NEW_VERSION" > VERSION.txt \ No newline at end of file