Skip to content

Commit f39eb27

Browse files
committed
修正github actions脚本编写不规范等问题
1 parent a32e019 commit f39eb27

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/cs2_msbuild.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: CS2 Cheat MSBuild
33
on:
44
push:
55
branches: [ "main" ]
6-
tags:
7-
- "v*.*.*"
86
pull_request:
97
branches: [ "main" ]
108

@@ -42,11 +40,12 @@ jobs:
4240

4341
- name: Release CS2 Cheat
4442
uses: softprops/action-gh-release@v1
43+
if: startsWith(github.ref, 'refs/tags/')
4544
with:
4645
body_path: CHANGELOG.txt
4746
files: |
48-
/x64/Release/CS2CheatCpp.exe
49-
/x64/Release/CS2CheatCpp.pdb
50-
/x64/Release/imgui.ini
47+
${{ github.workspace }}/x64/Release/CS2CheatCpp.exe
48+
${{ github.workspace }}/x64/Release/CS2CheatCpp.pdb
49+
${{ github.workspace }}/x64/Release/imgui.ini
5150
draft: false
5251
prerelease: false

0 commit comments

Comments
 (0)