Skip to content

Merge pull request #7 from Nuclearistt/dependabot/nuget/Google.Protob… #43

Merge pull request #7 from Nuclearistt/dependabot/nuget/Google.Protob…

Merge pull request #7 from Nuclearistt/dependabot/nuget/Google.Protob… #43

Workflow file for this run

name: Build and upload snapshot package
on: [push]
jobs:
build-package:
name: Build and upload snapshot package
permissions:
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Create NuGet Package
run: dotnet pack
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: TEKSteamClient.nupkg
path: 'bin/Release/*.*upkg'
- name: Publish to GitHub Packages
run: dotnet nuget push bin/Release/*.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/Nuclearistt/index.json