From 6e37d5b2097f0ddca3f5d3b2143f9393f0e01529 Mon Sep 17 00:00:00 2001 From: Cory Sanin Date: Wed, 12 Nov 2025 15:00:02 -0500 Subject: [PATCH] tier parameter --- README.md | 3 +++ action.yml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index af5d1e0..69d3ec7 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,9 @@ See [action.yml](action.yml). # Which repos to use. Can be stable, testing, staging 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 # utilize it, this input does nothing. username: 'anonymous' diff --git a/action.yml b/action.yml index aecea95..4787551 100644 --- a/action.yml +++ b/action.yml @@ -11,6 +11,9 @@ inputs: deps: description: 'which repos to enable' default: 'stable' + tier: + description: 'which tier of repos to enable' + default: '1' runs: using: 'docker' @@ -19,6 +22,7 @@ runs: REPO: . WORKSPACE: /workspace/${{ GITEA_REPOSITORY }}/ DEP: ${{ inputs.deps }} + TIER: ${{ inputs.tier }} POST: ${{ inputs.token }} username: ${{ inputs.username }} token: ${{ inputs.token }}