1 Commits

Author SHA1 Message Date
DerGrumpf 5222077eac Fixed release workflow
CI / check (push) Successful in 3m55s
2026-06-23 08:44:27 +02:00
+2 -3
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
@@ -10,7 +10,6 @@ on:
jobs: jobs:
build-isos: build-isos:
runs-on: nix runs-on: nix
if: ${{ github.event.workflow_run.conclusion == 'success' }}
env: env:
NIXPKGS_ALLOW_UNFREE: "1" NIXPKGS_ALLOW_UNFREE: "1"
steps: steps:
@@ -39,7 +38,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" \