Remove Web, and enable releases
This commit is contained in:
@@ -89,7 +89,7 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
RESPONSE=$(curl -s -X POST \
|
||||
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||
-H "Authorization: token ${{ secrets.LIBSM64_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
"https://git.nepu.men/api/v1/repos/NepuShiro/libsm64/releases" \
|
||||
-d '{
|
||||
@@ -107,7 +107,7 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||
-H "Authorization: token ${{ secrets.LIBSM64_TOKEN }}" \
|
||||
-F "attachment=@libsm64_linux/run-test" \
|
||||
"https://git.nepu.men/api/v1/repos/NepuShiro/libsm64/releases/${{ steps.create_release.outputs.release_id }}/assets?name=run-test-linux"
|
||||
|
||||
@@ -116,7 +116,7 @@ jobs:
|
||||
run: |
|
||||
tar -czf windows.tar.gz libsm64_windows
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||
-H "Authorization: token ${{ secrets.LIBSM64_TOKEN }}" \
|
||||
-F "attachment=@windows.tar.gz" \
|
||||
"https://git.nepu.men/api/v1/repos/NepuShiro/libsm64/releases/${{ steps.create_release.outputs.release_id }}/assets?name=libsm64-windows.tar.gz"
|
||||
|
||||
@@ -124,6 +124,6 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||
-H "Authorization: token ${{ secrets.LIBSM64_TOKEN }}" \
|
||||
-F "attachment=@README.md" \
|
||||
"https://git.nepu.men/api/v1/repos/NepuShiro/libsm64/releases/${{ steps.create_release.outputs.release_id }}/assets?name=README.md"
|
||||
Reference in New Issue
Block a user