„.gitea/workflows/build.yml“ ändern
All checks were successful
Export Game Job

This commit is contained in:
Snoweuph 2023-04-05 14:07:29 +00:00
parent d7bde78747
commit beb6d659da

View file

@ -36,14 +36,6 @@ jobs:
run: | run: |
cd builds cd builds
tar -czvf linux.tar.gz -C linux/ . tar -czvf linux.tar.gz -C linux/ .
- name: print info
run: |
ls
du -sh *
echo "---"
tree builds
echo "---"
echo
- name: create release - name: create release
run: | run: |
echo "Getting last Release Tag" echo "Getting last Release Tag"
@ -62,6 +54,8 @@ jobs:
\"prerelease\": true, \"prerelease\": true,
\"tag_name\": \"$VERSION\" \"tag_name\": \"$VERSION\"
}") }")
echo $ID
ID=$(echo $ID | jq -r '.id')
echo "Uploading Build to Release" echo "Uploading Build to Release"
curl -X 'POST' \ curl -X 'POST' \
"https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases/$ID/assets?name=Linux.tar.gz" \ "https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases/$ID/assets?name=Linux.tar.gz" \