Compare commits

..

1 Commits

Author SHA1 Message Date
5e493513f1 ich hab kein bock mehr
All checks were successful
Build on push / prepare (push) Successful in 28s
Build on push / build (push) Successful in 34s
Build on push / test (push) Successful in 2s
2026-02-14 18:00:45 +01:00

View File

@@ -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