Skip to content

Commit

Permalink
chore: 修正windows打包
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Mar 1, 2024
1 parent 079c24c commit 7ec4eaa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
## windows
- run: tar -caf ${{ matrix.artifact_name }} dist nginx package.json node_modules node
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
- run: |
set SRC=(where node)
copy /b $SRC .
- run: |
(Get-Command node.exe).Path
copy $SRC node.exe
tar -caf ${{ matrix.artifact_name }} dist package.json node_modules node.exe
if: matrix.os == 'windows-latest'
Expand Down

0 comments on commit 7ec4eaa

Please sign in to comment.