ich hab kein bock mehr
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user