Skip to content

Set BaseFile and Name in MetaInstancer #3

Set BaseFile and Name in MetaInstancer

Set BaseFile and Name in MetaInstancer #3

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "master" ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Pack
working-directory: ./Source/SharpNeedle
run: dotnet pack
- name: Publish
working-directory: ./Source/SharpNeedle
run: dotnet nuget push **/*.nupkg -s $NUGET_SOURCE -k $NUGET_AUTH_TOKEN --skip-duplicate
env:
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_TOKEN }}
NUGET_SOURCE: https://api.nuget.org/v3/index.json