File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,14 +40,22 @@ jobs:
4040 shell : bash
4141 run : |
4242 if [ "${{ runner.os }}" == "Windows" ]; then
43- zip -j dist/flashforge-emulator-windows.zip dist/flashforge-emulator.exe
43+ echo "Windows executable does not need packaging."
4444 elif [ "${{ runner.os }}" == "macOS" ]; then
4545 zip -j dist/flashforge-emulator-macos.zip dist/flashforge-emulator
4646 else
4747 zip -j dist/flashforge-emulator-linux.zip dist/flashforge-emulator
4848 fi
4949
50- - name : Upload artifact
50+ - name : Upload Windows Artifact
51+ if : runner.os == 'Windows'
52+ uses : actions/upload-artifact@v4
53+ with :
54+ name : executables-${{ runner.os }}
55+ path : dist/flashforge-emulator.exe
56+
57+ - name : Upload Linux/macOS Artifact
58+ if : runner.os != 'Windows'
5159 uses : actions/upload-artifact@v4
5260 with :
5361 name : executables-${{ runner.os }}
You can’t perform that action at this time.
0 commit comments