ci: ensure canonical naxos-installer-x86_64-linux.iso is published and attached to release
Test NaxOS Module Configurations / test-modules (push) Successful in 9m1s
Test NaxOS Module Configurations / test-modules (push) Successful in 9m1s
This commit is contained in:
@@ -51,11 +51,19 @@ jobs:
|
||||
TOKEN="${{ secrets.GITEA_TOKEN }}"
|
||||
fi
|
||||
ISO_NAME=$(basename "$ISO_FILE")
|
||||
echo "Publishing $ISO_NAME to Gitea Packages..."
|
||||
echo "Publishing $ISO_NAME and naxos-installer-x86_64-linux.iso to Gitea Packages..."
|
||||
curl -s -X PUT \
|
||||
-H "Authorization: token ${TOKEN}" \
|
||||
--upload-file "$ISO_FILE" \
|
||||
"${{ github.server_url }}/api/packages/naxos/generic/naxos-installer-iso/1.0.0/naxos-installer-x86_64-linux.iso" || true
|
||||
curl -s -X PUT \
|
||||
-H "Authorization: token ${TOKEN}" \
|
||||
--upload-file "$ISO_FILE" \
|
||||
"${{ github.server_url }}/api/packages/naxos/generic/naxos-installer-iso/1.0.0/$ISO_NAME" || true
|
||||
curl -s -X PUT \
|
||||
-H "Authorization: token ${TOKEN}" \
|
||||
--upload-file "$ISO_FILE" \
|
||||
"${{ github.server_url }}/api/packages/naxos/generic/naxos-installer/latest/naxos-installer-x86_64-linux.iso" || true
|
||||
curl -s -X PUT \
|
||||
-H "Authorization: token ${TOKEN}" \
|
||||
--upload-file "$ISO_FILE" \
|
||||
|
||||
Reference in New Issue
Block a user