From 5e493513f1ea059261c6b36939debf3fdf1bf81d Mon Sep 17 00:00:00 2001 From: edraft Date: Sat, 14 Feb 2026 18:00:45 +0100 Subject: [PATCH] ich hab kein bock mehr --- .gitea/workflows/build dev.yaml | 37 +++++++++++++-------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/.gitea/workflows/build dev.yaml b/.gitea/workflows/build dev.yaml index b5563cf..1d59e87 100644 --- a/.gitea/workflows/build dev.yaml +++ b/.gitea/workflows/build dev.yaml @@ -46,27 +46,20 @@ jobs: -T publish/linux-x64/sh.actions.package-cleanup \ "https://git.sh-edraft.de/api/packages/sh-edraft.de/generic/package-cleanup/$(cat ../../version.txt)/package-cleanup-linux-x64" - # test: - # runs-on: [runner] - # needs: build - # container: git.sh-edraft.de/sh-edraft.de/act-runner:latest - # steps: - # - name: Download and test package-cleanup tool - # shell: bash - # run: | - # # Create tools directory - # mkdir -p .tools + test: + runs-on: [runner] + needs: build + container: git.sh-edraft.de/sh-edraft.de/act-runner:latest + steps: + - name: Download and test package-cleanup tool + shell: bash + run: | + curl -OJ https://git.sh-edraft.de/api/packages/sh-edraft.de/generic/package-cleanup/package-cleanup-linux-x64 - # # Download the Linux x64 version (since we're running on Linux) - # VERSION=$(curl -s https://git.sh-edraft.de/api/packages/sh-edraft.de/generic/package-cleanup | jq -r '.versions[0].name') - # curl -L -H "Authorization: token ${{ secrets.CI_ACCESS_TOKEN }}" \ - # -o .tools/package-cleanup \ - # "https://git.sh-edraft.de/api/packages/sh-edraft.de/generic/package-cleanup/$VERSION/package-cleanup-linux-x64" + # Make executable + chmod +x package-cleanup-linux-x64 - # # Make executable - # chmod +x .tools/package-cleanup - - # - name: Run package-cleanup - # shell: bash - # run: | - # ./.tools/package-cleanup + - name: Run package-cleanup + shell: bash + run: | + ./package-cleanup-linux-x64