Skip to content

Commit b1efc3e

Browse files
author
Flash
committed
Merge remote-tracking branch 'origin/master'
2 parents 9e6e1f8 + bc32ad3 commit b1efc3e

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

.github/workflows/dotnet.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Prax Injector
2+
To use simply download [here](https://github.com/Prax-Client/Injector/releases/latest)

0 commit comments

Comments
 (0)