I just wanna tell you how I'm feeling
This commit is contained in:
@@ -151,7 +151,7 @@ jobs:
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.mytoken }}
|
||||
run: |
|
||||
release_id=$(curl -X POST "https://git.konsthol.eu/api/v1/repos/konsthol/WOL-Ly/releases" \
|
||||
curl -X POST "https://git.konsthol.eu/api/v1/repos/konsthol/WOL-Ly/releases" \
|
||||
-H "Authorization: token ${{ secrets.mytoken }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
@@ -161,7 +161,7 @@ jobs:
|
||||
"body": "Release description",
|
||||
"draft": false,
|
||||
"prerelease": false
|
||||
}' | jq -r '.id')
|
||||
}'
|
||||
|
||||
- name: Upload x86_64 Executable to Release
|
||||
env:
|
||||
@@ -171,7 +171,7 @@ jobs:
|
||||
curl --data-binary "@app/dist/wolServer-x86_64" \
|
||||
-H "Authorization: token ${{ secrets.mytoken }}" \
|
||||
-H "Content-Type: application/octet-stream" \
|
||||
"https://git.konsthol.eu/api/v1/repos/konsthol/WOL-Ly/releases/${release_id}/assets?name=wolServer-x86_64"
|
||||
"https://git.konsthol.eu/api/v1/repos/konsthol/WOL-Ly/releases/$(curl -s https://git.konsthol.eu/api/v1/repos/konsthol/WOL-Ly/releases/latest | jq -r '.id')/assets?name=wolServer-x86_64"
|
||||
else
|
||||
echo "x86_64 executable not found"
|
||||
fi
|
||||
@@ -184,7 +184,7 @@ jobs:
|
||||
curl --data-binary "@app/dist/wolServer-arm" \
|
||||
-H "Authorization: token ${{ secrets.mytoken }}" \
|
||||
-H "Content-Type: application/octet-stream" \
|
||||
"https://git.konsthol.eu/api/v1/repos/konsthol/WOL-Ly/releases/${release_id}/assets?name=wolServer-arm"
|
||||
"https://git.konsthol.eu/api/v1/repos/konsthol/WOL-Ly/releases/$(curl -s https://git.konsthol.eu/api/v1/repos/konsthol/WOL-Ly/releases/latest | jq -r '.id')/assets?name=wolServer-arm"
|
||||
else
|
||||
echo "ARM executable not found"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user