File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 31
31
- name : Create zip
32
32
shell : pwsh
33
33
# 配置【编译后的文件地址】
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
35
35
36
36
- name : Release
37
37
uses : softprops/action-gh-release@v1
41
41
body : |
42
42
Release为自动生成,具体内容请查看提交日志,或直接查看[README](https://github.com/JiuLing-zhang/ComputerLock#readme)
43
43
# 配置【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
You can’t perform that action at this time.
0 commit comments