Update .gitea/workflows/lightless-tag-and-release.yml
Some checks failed
Tag and Release Lightless / tag-and-release (push) Failing after 34s
Some checks failed
Tag and Release Lightless / tag-and-release (push) Failing after 34s
This commit is contained in:
@@ -153,8 +153,16 @@ jobs:
|
|||||||
release_id=$(echo "$response" | jq -r .id)
|
release_id=$(echo "$response" | jq -r .id)
|
||||||
echo "release_id=$release_id" >> "$GITHUB_OUTPUT"
|
echo "release_id=$release_id" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
|
- name: Check asset exists
|
||||||
|
run: |
|
||||||
|
if [ ! -f output/LightlessClient.zip ]; then
|
||||||
|
echo "output/LightlessClient.zip does not exist!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Upload Assets to release
|
- name: Upload Assets to release
|
||||||
run: |
|
run: |
|
||||||
|
echo "Release ID: ${{ steps.create_release.outputs.release_id }}"
|
||||||
curl --fail-with-body -s -X POST \
|
curl --fail-with-body -s -X POST \
|
||||||
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
|
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
|
||||||
-F "attachment=@output/LightlessClient.zip" \
|
-F "attachment=@output/LightlessClient.zip" \
|
||||||
|
|||||||
Reference in New Issue
Block a user