test: 嘗試使用兩種模式

This commit is contained in:
Jeffery
2026-03-20 17:03:33 +08:00
parent 58ae22ed1e
commit 7426c5d835
2 changed files with 8 additions and 7 deletions

View File

@@ -8,10 +8,16 @@ author: 'Jeffery'
outputs:
version:
description: '計算出的新版本號'
value: ${{ steps.calculate.outputs.version }}
runs:
using: 'docker'
image: 'Dockerfile'
env:
GITEA_SERVER_URL: ${{ gitea.server_url }}
GITEA_REPOSITORY: ${{ gitea.repository }}
RUNNER_TOKEN: ${{ secrets.RUNNER_TOKEN }}
RUNNER_TOKEN: ${{ secrets.RUNNER_TOKEN }}
using: 'composite'
steps:
- name: 將檔案寫到輸出
id: calculate
run: echo "VERSION.txt" >> $GITHUB_OUTPUT