From 2e1651eaf4f6b5d3920b1ede2dd2cfa45f636cf3 Mon Sep 17 00:00:00 2001 From: Michael Otto Date: Mon, 2 Mar 2026 10:30:50 +0100 Subject: [PATCH] =?UTF-8?q?dependencies=20und=20checkout=20von=20Erik=20?= =?UTF-8?q?=C3=BCbernommen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/release.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index cd33149..f35a692 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -8,17 +8,20 @@ on: jobs: release: runs-on: alpine-latest + defaults: + run: + shell: sh + steps: - name: Install dependencies - run: apk add --no-cache zip curl + run: | + apk add --no-cache git zip curl jq + git config --global http.sslVerify false + - name: Checkout run: | - curl -s -L \ - -H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \ - "${{ vars.GITEA_URL }}/api/v1/repos/${{ github.repository }}/archive/${{ github.sha }}.tar.gz" \ - -o repo.tar.gz - tar -xzf repo.tar.gz --strip-components=1 - rm repo.tar.gz + git clone --depth 1 --branch ${{ github.ref_name }} https://x-access-token:${{ gitea.token }}@entwicklung.flurneuordnung-sachsen.de/${{ github.repository }}.git . + - name: Determine version and channel id: info run: |