Remove target branch from dependabot #6
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: Deploy To Nuget | |
on: | |
push: | |
tags: | |
- "[0-9]+.[0-9]+.[0-9]" | |
paths-ignore: | |
- "**.md" | |
- ".vscode/**" | |
concurrency: | |
group: deploy-${{ github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
uses: ./.github/workflows/tests-base.yaml | |
build-push: | |
name: Build and Publish | |
needs: [test] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: "8.0.x" | |
- name: Restore packages | |
run: dotnet restore | |
- name: Create Pack | |
run: dotnet pack --no-restore -o packages /p:PackageVersion=${{ github.ref_name }} | |
- name: Publish to Nuget | |
run: |- | |
dotnet nuget push "packages/*.nupkg" \ | |
--skip-duplicate \ | |
--api-key ${{ secrets.NUGET_API_KEY }} \ | |
--source https://api.nuget.org/v3/index.json |