1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-19 05:27:57 +00:00

Oops; compile for Linux on Linux machine, not for Windows/Darwin

This commit is contained in:
Romein van Buren 2023-06-03 10:29:08 +02:00
parent 4b618f9b25
commit a44f4c8b7e
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -71,11 +71,11 @@ jobs:
- name: Cross-compile Rolens for Linux - name: Cross-compile Rolens for Linux
run: | run: |
mkdir releases mkdir releases
wails build -platform darwin/amd64 wails build -platform linux/amd64
tar -czvf releases/rolens-linux-amd64.tar.gz --directory build/bin Rolens tar -czvf releases/rolens-linux-amd64.tar.gz --directory build/bin Rolens
echo "tar_amd64=releases/rolens-linux-amd64.tar.gz" >> "$GITHUB_ENV" echo "tar_amd64=releases/rolens-linux-amd64.tar.gz" >> "$GITHUB_ENV"
rm -rf build/bin rm -rf build/bin
wails build -platform windows/arm64 wails build -platform linux/arm64
tar -czvf releases/rolens-linux-arm64.tar.gz --directory build/bin Rolens tar -czvf releases/rolens-linux-arm64.tar.gz --directory build/bin Rolens
echo "tar_arm64=releases/rolens-linux-arm64.tar.gz" >> "$GITHUB_ENV" echo "tar_arm64=releases/rolens-linux-arm64.tar.gz" >> "$GITHUB_ENV"