I really should've committed this when I finished it...

This commit is contained in:
2024-12-15 20:12:10 +02:00
parent 35cc873453
commit f76855457a

View File

@@ -126,12 +126,22 @@ jobs:
name: executable-x86_64
path: app/dist
- name: Extract and Rename x86_64 Artifact
run: |
unzip app/dist/executable-x86_64.zip -d app/dist
mv app/dist/wolServer app/dist/wolServer-x86_64
- name: Download ARM Artifact
uses: actions/download-artifact@v3
with:
name: executable-arm
path: app/dist
- name: Extract and Rename ARM Artifact
run: |
unzip app/dist/executable-arm.zip -d app/dist
mv app/dist/wolServer app/dist/wolServer-arm
- name: Create Release
env:
GITEA_TOKEN: ${{ secrets.mytoken }}
@@ -152,7 +162,7 @@ jobs:
env:
GITEA_TOKEN: ${{ secrets.mytoken }}
run: |
curl --data-binary "@app/dist/executable-x86_64" \
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"
@@ -161,7 +171,7 @@ jobs:
env:
GITEA_TOKEN: ${{ secrets.mytoken }}
run: |
curl --data-binary "@app/dist/executable-arm" \
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"