Skip to content

Merge pull request #465 from danimart1991/feature/tvseasonepisode_run… #7

Merge pull request #465 from danimart1991/feature/tvseasonepisode_run…

Merge pull request #465 from danimart1991/feature/tvseasonepisode_run… #7

Workflow file for this run

name: Nuget push (tag)
on:
push:
tags:
- 'v*'
- '!v*-*'
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
# We do not need to fetch tags, as we're already at a tagged build - it should be available automatically
- name: Setup .NET
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3
with:
dotnet-version: 7.0.x
- name: Pack
run: dotnet pack -c Release -o Build
- name: ls
run: ls -alh Build/
- name: Nuget push (github)
run: dotnet nuget push --no-symbols --skip-duplicate -k ${{ secrets.GITHUB_TOKEN }} -s "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" Build/*.nupkg
- name: Nuget push
run: dotnet nuget push --skip-duplicate -k ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json Build/*.nupkg