File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : GitHub Release
2+
3+ on :
4+ push :
5+ # Trigger only on tags like v1.0.0, v2.1.5, etc.
6+ tags :
7+ - ' v*'
8+
9+ jobs :
10+ release :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout repository
15+ uses : actions/checkout@v4
16+
17+ - name : Set up .NET (for publishing artifacts if needed)
18+ uses : actions/setup-dotnet@v3
19+ with :
20+ dotnet-version : ' 6.0.x' # or other appropriate version
21+
22+ - name : Build solution
23+ run : dotnet build SharpExt4.sln --configuration Release
24+
25+ # Optional: Pack or publish NuGet or binaries
26+ # - name: Pack library
27+ # run: dotnet pack path/to/Project.csproj --configuration Release --output ./artifacts
28+
29+ - name : Create GitHub Release
30+ uses : softprops/action-gh-release@v1
31+ with :
32+ tag_name : ${{ github.ref_name }}
33+ name : ${{ github.ref_name }}
34+ body : |
35+ Release for version ${{ github.ref_name }}
36+ ## Changes
37+ - Add changelog or highlights here.
38+
39+ env :
40+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments