mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix: releasing CI
This commit is contained in:
parent
671b480ab1
commit
6d3457dde0
1 changed files with 2 additions and 2 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -46,7 +46,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
mkdir $TARGET_NAME
|
mkdir $TARGET_NAME
|
||||||
cp target/${{ matrix.target }}/release/yazi $TARGET_NAME
|
cp target/${{ matrix.target }}/release/yazi $TARGET_NAME
|
||||||
cp -r config/completions $TARGET_NAME
|
cp -r yazi-config/completions $TARGET_NAME
|
||||||
cp README.md LICENSE $TARGET_NAME
|
cp README.md LICENSE $TARGET_NAME
|
||||||
zip -r $TARGET_NAME.zip $TARGET_NAME
|
zip -r $TARGET_NAME.zip $TARGET_NAME
|
||||||
|
|
||||||
|
|
@ -57,7 +57,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
New-Item -ItemType Directory -Path ${env:TARGET_NAME}
|
New-Item -ItemType Directory -Path ${env:TARGET_NAME}
|
||||||
Copy-Item -Path "target\${{ matrix.target }}\release\yazi.exe" -Destination ${env:TARGET_NAME}
|
Copy-Item -Path "target\${{ matrix.target }}\release\yazi.exe" -Destination ${env:TARGET_NAME}
|
||||||
Copy-Item -Path "config\completions" -Destination ${env:TARGET_NAME} -Recurse
|
Copy-Item -Path "yazi-config\completions" -Destination ${env:TARGET_NAME} -Recurse
|
||||||
Copy-Item -Path "README.md", "LICENSE" -Destination ${env:TARGET_NAME}
|
Copy-Item -Path "README.md", "LICENSE" -Destination ${env:TARGET_NAME}
|
||||||
Compress-Archive -Path ${env:TARGET_NAME} -DestinationPath "${env:TARGET_NAME}.zip"
|
Compress-Archive -Path ${env:TARGET_NAME} -DestinationPath "${env:TARGET_NAME}.zip"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue