Skip to content

v1.1.0

v1.1.0 #8

Workflow file for this run

name: Continuous Deployment
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Pack NuGet Package
run: cd ./RustPlusApi/RustPlusApi/ && dotnet pack --configuration Release
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.0
with:
path: ./**/*.nupkg
- name: Publish NuGet Package
run: dotnet nuget push ./**/*.nupkg --api-key ${{secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json