diff --git a/.gitea/workflow/Action.yaml b/.gitea/workflow/Action.yaml new file mode 100644 index 0000000..fbac134 --- /dev/null +++ b/.gitea/workflow/Action.yaml @@ -0,0 +1,30 @@ +name: build dll + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: windows-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Setup NuGet + uses: NuGet/setup-nuget@v1.1.1 + + - name: Restore NuGet packages + run: nuget restore psycastDontNeedPsyfocus.sln + + - name: Build with MSBuild + run: msbuild psycastDontNeedPsyfocus.csproj /p:Configuration=Release + + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: mod-dll + path: bin\Release\psycastDontNeedPsyfocus.dll