2 parents 8e3392e + 4d6b276 commit fa386bbCopy full SHA for fa386bb
1 file changed
.github/workflows/release.yml
@@ -86,9 +86,11 @@ jobs:
86
shell: pwsh
87
run: |
88
$asset = "miniexcel-cli-$env:RELEASE_TAG-windows-x64.zip"
89
- New-Item -ItemType Directory -Path target/release-cli | Out-Null
90
- Copy-Item LICENSE, README.md, target/release/miniexcel.exe target/release-cli/
91
- Compress-Archive -Path target/release-cli/* -DestinationPath "target/$asset"
+ $staging = Join-Path $env:RUNNER_TEMP 'release-cli'
+ Remove-Item $staging -Recurse -Force -ErrorAction SilentlyContinue
+ New-Item -ItemType Directory -Path $staging | Out-Null
92
+ Copy-Item LICENSE, README.md, target/release/miniexcel.exe $staging
93
+ Compress-Archive -Path "$staging/*" -DestinationPath "target/$asset" -Force
94
- uses: actions/upload-artifact@v4
95
with:
96
name: release-cli
0 commit comments