Fixed release workflow
CI / check (push) Successful in 3m55s

This commit is contained in:
2026-06-23 08:37:48 +02:00
parent d122263dfa
commit 5222077eac
+2 -3
View File
@@ -1,7 +1,7 @@
name: Release ISOs
on:
workflow_run:
workflow_dispatch:
workflows: ["CI"]
types:
- completed
@@ -10,7 +10,6 @@ on:
jobs:
build-isos:
runs-on: nix
if: ${{ github.event.workflow_run.conclusion == 'success' }}
env:
NIXPKGS_ALLOW_UNFREE: "1"
steps:
@@ -39,7 +38,7 @@ jobs:
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
iso=$(find $result -name "*.iso" | head -1)
iso=$(readlink -f $(find $result -name "*.iso" | head -1))
curl -s -X POST \
-H "Authorization: token ${{ secrets.CI_TOKEN }}" \
-F "attachment=@${iso};filename=${result}.iso" \