fix typo #53
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 Package to Nuget.org | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
folder: [Bones, Bones.Akka, Bones.Converters, Bones.Flow, Bones.Grpc, Bones.Tests, Bones.X509, Bones.Akka.Monitoring, Bones.Monitoring] | |
steps: | |
# Checking out repository | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
# pack file to publish to NuGet | |
- name: Create a NuGet Package 🔧 | |
run: | | |
cd src/${{matrix.folder}} | |
export VERSION=${{ github.ref_name }} | |
dotnet pack | |
# Publishing with tag name as version | |
- name: Publishing to NuGet 🚀 | |
run: | | |
cd src/${{ matrix.folder}}/bin/Debug | |
dotnet nuget push ${{matrix.folder}}.${{ github.ref_name}}.nupkg -k ${{ secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json |