File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed
Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a .NET project
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3+
4+ name : .NET release
5+
6+ on :
7+ push :
8+ branches : [ "master" ]
9+
10+ jobs :
11+ build :
12+ runs-on : windows-latest
13+ permissions :
14+ contents : write
15+ steps :
16+ - uses : actions/checkout@v3
17+ - name : Setup .NET
18+ uses : actions/setup-dotnet@v3
19+ with :
20+ dotnet-version : 7.0.x
21+ - name : Restore dependencies
22+ run : dotnet restore
23+ - name : Init submodule
24+ run : git submodule init
25+ - name : Add submodule
26+ run : git submodule update --recursive --remote --force
27+ - name : Publish
28+ run : dotnet publish Injector/Injector.csproj -o build\ -c Release -p:PublishTrimmed=true -p:SelfContained=true -p:IncludeNativeLibrariesForSelfExtract=true
29+ - name : Release with Notes
30+ uses : softprops/action-gh-release@v1
31+ with :
32+ tag_name : generated_release_${{ github.run_id }}-${{ github.run_attempt }}
33+ name : Generated release
34+ body : This release was generated by Github Actions. It may or may not be stable.
35+ files : build/Injector.exe
36+ env :
37+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38+ - name : Test
39+ run : dotnet test --no-build --verbosity normal
Original file line number Diff line number Diff line change 1+ # Prax Injector
2+ To use simply download [ here] ( https://github.com/Prax-Client/Injector/releases/latest )
You can’t perform that action at this time.
0 commit comments