Files
calculate-version/action.yaml
2026-03-20 16:37:45 +08:00

17 lines
468 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: 'CALCULATE VERSION'
description: '計算版本號'
author: 'Jeffery'
# inputs:
# RUNNER_TOKEN:
# description: 'Gitea Runner 用來存取的 Tokenex: ${{ secrets.RUNNER_TOKEN }}'
# required: true
outputs:
VERSION:
description: '計算出的新版本號'
runs:
using: 'docker'
image: 'Dockerfile'
env:
GITEA_SERVER_URL: ${{ gitea.server_url }}
GITEA_REPOSITORY: ${{ gitea.repository }}
RUNNER_TOKEN: ${{ secrets.RUNNER_TOKEN }}