Skip to content

Commit ce354cc

Browse files
committed
fix(cli): use bash shell on Windows for tar packaging step
PowerShell doesn't accept 'VAR=value cmd' prefix syntax. Set shell: bash so EXE_EXT=.exe is set correctly on Windows runners.
1 parent 0c02e33 commit ce354cc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/cli.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
EXE_EXT=${{ matrix.platform == 'windows-latest' && '.exe' || '' }}
5656
SRC="src-tauri/target/${{ matrix.target }}/release/sublens-cli${EXE_EXT}"
5757
tar -czvf ${{ matrix.artifact }}.tar.gz -C "$(dirname $SRC)" "$(basename $SRC)"
58+
shell: bash
5859

5960
- name: Upload CLI binary
6061
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)