V1.1.0 #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch Sources | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
filter: tree:0 | |
- name: Setup .NET Env | |
uses: actions/setup-dotnet@3 | |
with: | |
dotnet-version: "8.0.100" | |
- name: Restore Solution | |
run: | | |
dotnet restore | |
- name: Build Solution | |
run: | | |
dotnet publish --configuration Release | |
- name: Pack Solution | |
run: | | |
dotnet pack --configuration Release | |
- name: Upload NuPkg Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: compiler-build | |
path: LethalNetworkAPI/bin/Release/netstandard2.1/LethalCompanyAPI.dll | |
- name: Upload NuPkg Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: nupkg-build | |
path: LethalNetworkAPI/bin/Release/*.nupkg |