dev #1

Merged
edraft merged 37 commits from dev into master 2026-02-22 00:19:00 +01:00
Showing only changes of commit 5e493513f1 - Show all commits

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