mirror of
https://github.com/switchbrew/switch-tools.git
synced 2025-06-22 05:52:39 +02:00
Removed redundant steps
This commit is contained in:
parent
6ec6c4f9c0
commit
e05015820a
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -29,16 +29,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Create package
|
- name: Create package
|
||||||
run: |
|
run: |
|
||||||
mkdir -p dist/linux
|
mkdir -p dist/
|
||||||
cp elf2nso elf2nro elf2kip build_pfs0 build_romfs nacptool npdmtool nxlink dist/linux/
|
cp elf2nso elf2nro elf2kip build_pfs0 build_romfs nacptool npdmtool nxlink dist/
|
||||||
cd dist
|
|
||||||
tar -czf switch-tools-linux.tar.gz linux
|
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: switch-tools-linux
|
name: switch-tools-linux
|
||||||
path: dist/switch-tools-linux.tar.gz
|
path: dist/
|
||||||
|
|
||||||
build-windows:
|
build-windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
@ -75,16 +73,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Create package
|
- name: Create package
|
||||||
run: |
|
run: |
|
||||||
mkdir -p dist/windows
|
mkdir -p dist/
|
||||||
cp *.exe dist/windows/
|
cp *.exe dist/
|
||||||
cd dist
|
|
||||||
zip -r switch-tools-windows.zip windows
|
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: switch-tools-windows
|
name: switch-tools-windows
|
||||||
path: dist/switch-tools-windows.zip
|
path: dist/
|
||||||
|
|
||||||
release:
|
release:
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'release'
|
||||||
|
Loading…
Reference in New Issue
Block a user