Skip to content

Commit 53f5d28

Browse files
committed
ci: create release on build
1 parent 0abd0da commit 53f5d28

1 file changed

Lines changed: 16 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,20 @@ jobs:
2020
- name: Set up MSBuild path
2121
uses: microsoft/setup-msbuild@v1.1
2222

23-
- name: Build eTokenSign3 Solution
24-
run: msbuild eTokenSign3.sln /p:Configuration=Release /p:Platform="x86"
25-
- name: Upload Build Artifact
26-
uses: actions/upload-artifact@v3
23+
- name: Determine Next Version and Tag
24+
id: versioning
25+
uses: mathieudutour/github-tag-action@v5.6
2726
with:
28-
name: eTokenSign3-exe
29-
path: |
30-
**/*.exe
31-
**/*.dll # Add or remove paths as needed for your build artifacts
27+
github_token: ${{ secrets.GITHUB_TOKEN }}
28+
create_annotated_tag: true
29+
tag_prefix: v
30+
31+
- name: 🚀 Release
32+
uses: softprops/action-gh-release@v1
33+
with:
34+
tag_name: ${{ steps.versioning.outputs.new_tag }}
35+
body: ${{ steps.versioning.outputs.changelog }}
36+
files: |
37+
**/*.exe
38+
**/*.dll
39+

0 commit comments

Comments
 (0)