Actually fixed action...

This commit is contained in:
G2 2024-07-16 14:22:25 -05:00 committed by G2-Games
parent ff80c4fba5
commit 46d14af51c

View file

@ -32,9 +32,10 @@ jobs:
- name: '📦 Package Windows x86_64'
run: |
cd ${{github.workspace}}
sudo apt-get install -y gcc-mingw-w64
cargo build --profile production --target x86_64-pc-windows-gnu $BINARIES
zip lbee-utils_Windows-x86_64.zip target/x86_64-pc-windows-gnu/production/czutil.exe target/x86_64-pc-windows-gnu/production/pakutil.exe
gh release upload ${{github.event.release.tag_name}} lbee-utils_Windows-x86_64.zip
zip -j lbee-utils_Windows-x86_64.zip target/x86_64-pc-windows-gnu/production/czutil.exe target/x86_64-pc-windows-gnu/production/pakutil.exe
gh release upload ${{ github.ref_name }} lbee-utils_Windows-x86_64.zip
env:
GITHUB_TOKEN: ${{ github.TOKEN }}
shell: bash
@ -42,8 +43,8 @@ jobs:
run: |
cd ${{github.workspace}}
cargo build --profile production --target x86_64-unknown-linux-gnu $BINARIES
zip lbee-utils_Linux-x86_64.zip target/x86_64-unknown-linux-gnu/production/czutil.exe target/x86_64-unknown-linux-gnu/production/pakutil.exe
gh release upload ${{github.event.release.tag_name}} lbee-utils_Linux-x86_64.zip
zip -j lbee-utils_Linux-x86_64.zip target/x86_64-unknown-linux-gnu/production/czutil target/x86_64-unknown-linux-gnu/production/pakutil
gh release upload ${{ github.ref_name }} lbee-utils_Linux-x86_64.zip
env:
GITHUB_TOKEN: ${{ github.TOKEN }}
shell: bash
@ -69,8 +70,8 @@ jobs:
run: |
cd ${{github.workspace}}
cargo build --profile production --target x86_64-apple-darwin $BINARIES
zip lbee-utils_Mac-x86_64.zip target/x86_64-apple-darwin/production/czutil.exe target/x86_64-apple-darwin/production/pakutil.exe
gh release upload ${{github.event.release.tag_name}} lbee-utils_Mac-x86_64.zip
zip -j lbee-utils_Mac-x86_64.zip target/x86_64-apple-darwin/production/czutil target/x86_64-apple-darwin/production/pakutil
gh release upload ${{ github.ref_name }} lbee-utils_Mac-x86_64.zip
env:
GITHUB_TOKEN: ${{ github.TOKEN }}
shell: bash
@ -78,8 +79,8 @@ jobs:
run: |
cd ${{github.workspace}}
cargo build --profile production --target aarch64-apple-darwin $BINARIES
zip lbee-utils_Mac-Arm.zip target/aarch64-apple-darwin/production/czutil.exe target/aarch64-apple-darwin/production/pakutil.exe
gh release upload ${{github.event.release.tag_name}} lbee-utils_Mac-Arm.zip
zip -j lbee-utils_Mac-Arm.zip target/aarch64-apple-darwin/production/czutil target/aarch64-apple-darwin/production/pakutil
gh release upload ${{ github.ref_name }} lbee-utils_Mac-Arm.zip
env:
GITHUB_TOKEN: ${{ github.TOKEN }}
shell: bash