Skip to content

Commit 74a1914

Browse files
committed
chore: fix GHA windows upload
1 parent 6780bb7 commit 74a1914

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/bundle.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ jobs:
2727
- run: poetry run pyinstaller --name scim2 --onefile scim2_cli/__init__.py
2828
- run: ./dist/scim2
2929
- uses: actions/upload-artifact@v4
30+
if: ${{ matrix.os != "windows-latest" }}
3031
with:
31-
name: scim2-${{ github.ref_name }}-${{ runner.os }}
32-
path: dist/scim2
32+
name: scim2-${{ github.ref_name }}-${{ matrix.os }}
33+
path: ./dist/scim2
34+
if-no-files-found: error
35+
- uses: actions/upload-artifact@v4
36+
if: ${{ matrix.os == "windows-latest" }}
37+
with:
38+
name: scim2-${{ github.ref_name }}-${{ matrix.os }}
39+
path: ./dist/scim2.exe
40+
if-no-files-found: error

0 commit comments

Comments
 (0)