Skip to content

Commit

Permalink
Add github actions
Browse files Browse the repository at this point in the history
MeFisto94 committed Nov 26, 2023
1 parent 1a158af commit a907191
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/netfx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build Repository
on: [push]

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1.1

- name: Restore NuGet Packages
run: nuget restore Andraste.Payload.Generic.csproj

- name: Build project
run: msbuild Andraste.Payload.Generic.csproj /p:Configuration=Release /p:GeneratePackageOnBuild=true

- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: DLL
path: bin\Release\net48\Andraste.Payload.Generic.dll
- name: Upload NuPkg
uses: actions/upload-artifact@v3
with:
name: NuGet
path: bin\Release\Andraste.Payload.Generic.*.nupkg

0 comments on commit a907191

Please sign in to comment.