I really should've committed this when I finished it...
This commit is contained in:
@@ -126,12 +126,22 @@ jobs:
|
|||||||
name: executable-x86_64
|
name: executable-x86_64
|
||||||
path: app/dist
|
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
|
- name: Download ARM Artifact
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: executable-arm
|
name: executable-arm
|
||||||
path: app/dist
|
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
|
- name: Create Release
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.mytoken }}
|
GITEA_TOKEN: ${{ secrets.mytoken }}
|
||||||
@@ -152,7 +162,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.mytoken }}
|
GITEA_TOKEN: ${{ secrets.mytoken }}
|
||||||
run: |
|
run: |
|
||||||
curl --data-binary "@app/dist/executable-x86_64" \
|
curl --data-binary "@app/dist/wolServer-x86_64" \
|
||||||
-H "Authorization: token ${{ secrets.mytoken }}" \
|
-H "Authorization: token ${{ secrets.mytoken }}" \
|
||||||
-H "Content-Type: application/octet-stream" \
|
-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/${release_id}/assets?name=wolServer-x86_64"
|
||||||
@@ -161,7 +171,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.mytoken }}
|
GITEA_TOKEN: ${{ secrets.mytoken }}
|
||||||
run: |
|
run: |
|
||||||
curl --data-binary "@app/dist/executable-arm" \
|
curl --data-binary "@app/dist/wolServer-arm" \
|
||||||
-H "Authorization: token ${{ secrets.mytoken }}" \
|
-H "Authorization: token ${{ secrets.mytoken }}" \
|
||||||
-H "Content-Type: application/octet-stream" \
|
-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/${release_id}/assets?name=wolServer-arm"
|
||||||
|
|||||||
Reference in New Issue
Block a user