From 7e9a5c82fe2d58481893ea4963549d434a5eaa2f Mon Sep 17 00:00:00 2001 From: David Claeys Date: Sat, 25 Jul 2026 12:34:18 +0200 Subject: [PATCH] testing gitea action --- .gitea/workflows/action.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.gitea/workflows/action.yaml b/.gitea/workflows/action.yaml index a5ba924..9cf8dc9 100644 --- a/.gitea/workflows/action.yaml +++ b/.gitea/workflows/action.yaml @@ -22,6 +22,35 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - name: Set build variables for docker build + id: variables-test + uses: https://git.claeyscloud.com/david/gitea-actions/conditional-variables@main + context: + branch=${{ inputs.branch } + rules: + - conditions: + - branch == 9.0-alpine-24 + - branch == 9.0-alpine-23 + set: + DOTNET_SDK_VERSION=9.0 + DOTNET_RUNTIME_VERSION=9.0.18 + - conditions: + - branch == 9.0-alpine-24 + set: + ALPINE_VERSION=24 + - name: Dump contexts + env: + GITEA_CONTEXT: ${{ toJson(gitea) }} + JOB_CONTEXT: ${{ toJson(job) }} + RUNNER_CONTEXT: ${{ toJson(runner) }} + STRATEGY_CONTEXT: ${{ toJson(strategy) }} + MATRIX_CONTEXT: ${{ toJson(matrix) }} + run: | + echo "$GITEA_CONTEXT" + echo "$JOB_CONTEXT" + echo "$RUNNER_CONTEXT" + echo "$STRATEGY_CONTEXT" + echo "$MATRIX_CONTEXT" - name: Set build variables for docker build id: variables run: |