@@ -1,7 +1,7 @@
|
||||
name: Release ISOs
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflow_dispatch:
|
||||
workflows: ["CI"]
|
||||
types:
|
||||
- completed
|
||||
@@ -39,7 +39,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" \
|
||||
|
||||
Reference in New Issue
Block a user