1 Commits

Author SHA1 Message Date
6e37d5b209 tier parameter 2025-11-12 15:00:02 -05:00
2 changed files with 7 additions and 0 deletions

View File

@@ -12,6 +12,9 @@ See [action.yml](action.yml).
# Which repos to use. Can be stable, testing, staging # Which repos to use. Can be stable, testing, staging
deps: 'stable' deps: 'stable'
# Which tier of repos to use. 0 for system, 1 for world, etc.
tier: '1'
# Username intended to be used for publishing artifacts. Wihtout a proper post-entrypoint.sh script to # Username intended to be used for publishing artifacts. Wihtout a proper post-entrypoint.sh script to
# utilize it, this input does nothing. # utilize it, this input does nothing.
username: 'anonymous' username: 'anonymous'

View File

@@ -11,6 +11,9 @@ inputs:
deps: deps:
description: 'which repos to enable' description: 'which repos to enable'
default: 'stable' default: 'stable'
tier:
description: 'which tier of repos to enable'
default: '1'
runs: runs:
using: 'docker' using: 'docker'
@@ -19,6 +22,7 @@ runs:
REPO: . REPO: .
WORKSPACE: /workspace/${{ GITEA_REPOSITORY }}/ WORKSPACE: /workspace/${{ GITEA_REPOSITORY }}/
DEP: ${{ inputs.deps }} DEP: ${{ inputs.deps }}
TIER: ${{ inputs.tier }}
POST: ${{ inputs.token }} POST: ${{ inputs.token }}
username: ${{ inputs.username }} username: ${{ inputs.username }}
token: ${{ inputs.token }} token: ${{ inputs.token }}