Skip to content

Merge pull request #2 from RichardMendes/change-var-names #4

Merge pull request #2 from RichardMendes/change-var-names

Merge pull request #2 from RichardMendes/change-var-names #4

Workflow file for this run

name: Build and deploy package
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Set up .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: '8.0.x'
- name: Build with dotnet
run: dotnet build --configuration Release
- name: Test
run: dotnet test
- name: Create the Package
run: dotnet pack --configuration Release
- name: Publish
run: dotnet nuget push "MoneyExtension/bin/Release/*.nupkg" -k ${secrets.NUGET_TOKEN} -s https://api.nuget.org/v3/index.json