Removed redundant steps

This commit is contained in:
canvas123 2025-05-02 03:25:30 +03:00
parent 6ec6c4f9c0
commit e05015820a

View File

@ -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'