Dumping zip content for testing
All checks were successful
Tag and Release Lightless / tag-and-release (push) Successful in 2m10s
All checks were successful
Tag and Release Lightless / tag-and-release (push) Successful in 2m10s
This commit is contained in:
@@ -158,16 +158,21 @@ jobs:
|
||||
echo "/output/LightlessClient.zip does not exist!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Upload Assets to release
|
||||
env:
|
||||
RELEASE_ID: ${{ env.RELEASE_ID }}
|
||||
|
||||
- name: Dump zip content
|
||||
run: |
|
||||
echo "Uploading to release ID: $RELEASE_ID"
|
||||
curl --fail-with-body -s -X POST \
|
||||
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
|
||||
-F "attachment=@/output/LightlessClient.zip" \
|
||||
"https://git.lightless-sync.org/api/v1/repos/${GITHUB_REPOSITORY}/releases/$RELEASE_ID/assets"
|
||||
unzip -l /output/LightlessClient.zip
|
||||
|
||||
|
||||
# - name: Upload Assets to release
|
||||
# env:
|
||||
# RELEASE_ID: ${{ env.RELEASE_ID }}
|
||||
# run: |
|
||||
# echo "Uploading to release ID: $RELEASE_ID"
|
||||
# curl --fail-with-body -s -X POST \
|
||||
# -H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
|
||||
# -F "attachment=@/output/LightlessClient.zip" \
|
||||
# "https://git.lightless-sync.org/api/v1/repos/${GITHUB_REPOSITORY}/releases/$RELEASE_ID/assets"
|
||||
|
||||
- name: Clone plugin hosting repo
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user