mirror of
https://github.com/switchbrew/switch-tools.git
synced 2025-08-12 19:39:22 +02:00
Fixed windows release
This commit is contained in:
parent
3124dff7ef
commit
e1b7879012
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: switch-tools-linux
|
name: switch-tools-linux
|
||||||
path: dist/switch-tools-linux.tar.gz
|
path: dist/switch-tools-linux.tar.gz
|
||||||
|
|
||||||
build-windows:
|
build-windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
defaults:
|
defaults:
|
||||||
@ -63,6 +63,7 @@ jobs:
|
|||||||
pkg-config
|
pkg-config
|
||||||
mingw-w64-x86_64-lz4
|
mingw-w64-x86_64-lz4
|
||||||
mingw-w64-x86_64-zlib
|
mingw-w64-x86_64-zlib
|
||||||
|
zip
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: |
|
run: |
|
||||||
@ -77,7 +78,7 @@ jobs:
|
|||||||
mkdir -p dist/windows
|
mkdir -p dist/windows
|
||||||
cp *.exe dist/windows/
|
cp *.exe dist/windows/
|
||||||
cd dist
|
cd dist
|
||||||
7z a switch-tools-windows.zip windows
|
zip -r switch-tools-windows.zip windows
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@ -98,7 +99,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
switch-tools-linux/switch-tools-linux.tar.gz
|
switch-tools-linux/switch-tools-linux.tar.gz
|
||||||
switch-tools-macos/switch-tools-macos.tar.gz
|
|
||||||
switch-tools-windows/switch-tools-windows.zip
|
switch-tools-windows/switch-tools-windows.zip
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue
Block a user