Skip to content

Commit cca35c4

Browse files
authored
Merge pull request #3 from Parallel-7/fix/windows-release-zip
Fix Windows Release Workflow Zipping Issue
2 parents c44bfa3 + 9b03141 commit cca35c4

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)