v2.1.2 #29
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: Publish Dotnet Package (GPR) | |
on: | |
release: | |
types: [created] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET 8 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8 | |
source-url: https://nuget.pkg.github.com/BattlefieldDuck/index.json | |
env: | |
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Build .NET project | |
run: dotnet build XtermBlazor -c Release | |
- name: Create the package | |
run: dotnet pack XtermBlazor -c Release | |
- name: Publish the package to GPR | |
run: dotnet nuget push XtermBlazor/bin/Release/*.nupkg |