Skip to content

Commit

Permalink
Added nuget workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Tornado-Technology committed Aug 15, 2024
1 parent 670e5ce commit 9ee50f7
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Nuget realease

on:
release:
types: [published]
workflow_dispatch:

env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: 🛠️ Setup Submodules
run: git submodule update --init --recursive

- name: 🛠️ Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: 🛠️ Install dotnet dependencies
run: dotnet restore

- name: 🛠️ Install dotnet tools
run: dotnet tool restore

- name: 🛠️ Build (Release)
run: dotnet build --configuration=Release

- name: 📦 Pack
run: dotnet pack

0 comments on commit 9ee50f7

Please sign in to comment.