Skip to content

Commit bce141c

Browse files
authored
Update and rename msbuild.yml to PublishBinary.yml (#5)
1 parent 10be878 commit bce141c

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed
Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
name: MSBuild
1+
name: PublishBinary
22
on:
33
push:
44
branches: [ "main" ]
5-
pull_request:
6-
branches: [ "main" ]
75

86
env:
97
SOLUTION_FILE_PATH: .
@@ -44,10 +42,15 @@ jobs:
4442

4543
- uses: actions/upload-artifact@v3
4644
with:
47-
name: AsaApiLoader.exe
48-
path: ${{env.SOLUTION_FILE_PATH}}/x64/Release/AsaApiLoader.exe
45+
name: AsaApiLoader
46+
path: ${{env.SOLUTION_FILE_PATH}}/x64/Release/
4947

50-
- uses: actions/upload-artifact@v3
48+
- name: Lastest Auto-Build
49+
uses: softprops/action-gh-release@v1
50+
if: startsWith(github.ref, 'refs/tags/')
5151
with:
52-
name: AsaApiLoader.pdb
53-
path: ${{env.SOLUTION_FILE_PATH}}/x64/Release/AsaApiLoader.pdb
52+
files: |
53+
${{env.SOLUTION_FILE_PATH}}/x64/Release/AsaApiLoader.exe
54+
${{env.SOLUTION_FILE_PATH}}/x64/Release/AsaApiLoader.pdb
55+
env:
56+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)