Skip to content

Commit 6b395a1

Browse files
committed
Update release.yml
1 parent 4585676 commit 6b395a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Create zip
3232
shell: pwsh
3333
# 配置【编译后的文件地址】
34-
run: Compress-Archive -Path .\src\bin\Release\net7.0-windows\* -DestinationPath .\src\bin\Release\ComputerLock_${{ steps.tagName.outputs.tag }}.zip
34+
run: Compress-Archive -Path ${{github.workspace}}\src\bin\Release\net7.0-windows\* -DestinationPath ${{github.workspace}}\src\bin\Release\ComputerLock_${{ steps.tagName.outputs.tag }}.zip
3535

3636
- name: Release
3737
uses: softprops/action-gh-release@v1
@@ -41,4 +41,4 @@ jobs:
4141
body: |
4242
Release为自动生成,具体内容请查看提交日志,或直接查看[README](https://github.com/JiuLing-zhang/ComputerLock#readme)
4343
# 配置【zip文件地址】
44-
files: ${{github.workspace}}/src/bin/Release/ComputerLock_${{ steps.tagName.outputs.tag }}.zip
44+
files: ${{github.workspace}}\src\bin\Release\ComputerLock_${{ steps.tagName.outputs.tag }}.zip

0 commit comments

Comments
 (0)