Skip to content

Commit

Permalink
Fix working dir for binary builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoseley committed Jan 31, 2025
1 parent 3f71479 commit ae0bd78
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-cli-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
- name: Prepare content...
run: |
mv README.md dist/pkg
working-directory: packages/gensx-cli
- name: Setup environment (Unix)
if: contains(fromJSON('["linux-arm64", "linux-x64", "macos-arm64", "macos-x64"]'), matrix.target)
run: |
Expand All @@ -80,7 +81,7 @@ jobs:
- name: Zipping dist (Windows)
if: contains(fromJSON('["win-arm64", "win-x64"]'), matrix.target)
working-directory: dist
working-directory: packages/gensx-cli/dist
run: |
zip -r ${{ matrix.target }}.${{ env._EXT }} .
mv ${{ matrix.target }}.${{ env._EXT }} ../
Expand All @@ -94,4 +95,4 @@ jobs:
tag_name: ${{ env.VERSION }}
token: ${{ secrets.PAT_GITHUB_TOKEN }}
prerelease: true
files: gensx_${{ env.VERSION }}_${{ matrix.target }}.${{ env._EXT }}
files: packages/gensx-cli/gensx_${{ env.VERSION }}_${{ matrix.target }}.${{ env._EXT }}

0 comments on commit ae0bd78

Please sign in to comment.