Skip to content

Commit

Permalink
chore: fix GHA release filenames, again
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed Jul 26, 2024
1 parent 459eae9 commit ac44c42
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ jobs:
- run: pip install poetry
- run: poetry install
- run: poetry run pip install pyinstaller
- run: poetry run pyinstaller --name scim2 --onefile scim2_cli/__init__.py
- run: poetry run pyinstaller --name scim2-${{ matrix.os }} --onefile scim2_cli/__init__.py
- run: ./dist/scim2
- uses: actions/upload-artifact@v4
if: ${{ matrix.os != 'windows-latest' }}
with:
name: scim2-${{ github.ref_name }}-${{ matrix.os }}
path: ./dist/scim2
path: ./dist/scim2-${{ matrix.os }}
if-no-files-found: error
- uses: actions/upload-artifact@v4
if: ${{ matrix.os == 'windows-latest' }}
with:
name: scim2-${{ github.ref_name }}-${{ matrix.os }}
path: ./dist/scim2.exe
path: ./dist/scim2-${{ matrix.os }}.exe
if-no-files-found: error

release:
Expand All @@ -51,4 +51,4 @@ jobs:
- uses: softprops/action-gh-release@v2
with:
files:
scim2-${{ github.ref_name }}-*
scim2-${{ github.ref_name }}-*/*

0 comments on commit ac44c42

Please sign in to comment.