Skip to content

Commit

Permalink
Create nuget.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hummel009 authored Jan 23, 2024
1 parent fe7f691 commit 15d66c6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: C# with Nuget
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@main
- name: Setup .NET
uses: actions/setup-dotnet@main
with:
dotnet-version: 8.0.x
- name: Restore Dependencies
working-directory: ./appCs
run: dotnet restore
- name: Build with Nuget
working-directory: ./appCs
run: dotnet build --no-restore
- name: Upload Artifact
uses: actions/upload-artifact@main
with:
name: compiled-artifact-cs
path: |
./appCs/bin/Debug/net8.0/*.exe
./appCs/bin/Debug/net8.0/*.dll

0 comments on commit 15d66c6

Please sign in to comment.