Skip to content

Commit 7e210e1

Browse files
Properly specify OS for artifacts
1 parent 51e73be commit 7e210e1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/actions.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
- name: "Build"
1919
if: matrix.os == 'windows-latest'
2020
run: ./scripts/build.bat
21+
- uses: actions/upload-artifact@v4
22+
if: matrix.os == 'windows-latest'
23+
with:
24+
name: 3DS-RPC.exe
25+
path: dist/3DS-RPC.exe
2126

2227
# macOS Build
2328
- name: "Build"
@@ -26,13 +31,8 @@ jobs:
2631
./scripts/build.sh &&
2732
cd ./dist &&
2833
zip -yr "3DS-RPC Mac.zip" 3DS-RPC.app/
29-
30-
# For normal commits, upload the created artifact.
31-
- uses: actions/upload-artifact@v4
32-
with:
33-
name: 3DS-RPC.exe
34-
path: dist/3DS-RPC.exe
3534
- uses: actions/upload-artifact@v4
35+
if: matrix.os == 'macos-latest'
3636
with:
3737
name: '3DS-RPC Mac.zip'
3838
path: 'dist/3DS-RPC Mac.zip'

0 commit comments

Comments
 (0)