Fixed release workflow
CI / check (push) Successful in 4m20s

This commit is contained in:
2026-06-23 08:37:48 +02:00
parent d122263dfa
commit 1bd45f5750
+2 -2
View File
@@ -1,7 +1,7 @@
name: Release ISOs name: Release ISOs
on: on:
workflow_run: workflow_dispatch:
workflows: ["CI"] workflows: ["CI"]
types: types:
- completed - completed
@@ -39,7 +39,7 @@ jobs:
RELEASE_ID=$(echo $RELEASE | grep -o '"id":[0-9]*' | head -1 | cut -d: -f2) RELEASE_ID=$(echo $RELEASE | grep -o '"id":[0-9]*' | head -1 | cut -d: -f2)
for result in result-desktop result-controller result-proxy result-node-1 result-node-2; do for result in result-desktop result-controller result-proxy result-node-1 result-node-2; do
iso=$(find $result -name "*.iso" | head -1) iso=$(readlink -f $(find $result -name "*.iso" | head -1))
curl -s -X POST \ curl -s -X POST \
-H "Authorization: token ${{ secrets.CI_TOKEN }}" \ -H "Authorization: token ${{ secrets.CI_TOKEN }}" \
-F "attachment=@${iso};filename=${result}.iso" \ -F "attachment=@${iso};filename=${result}.iso" \