fix(deps): bump versions #12
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 Nightly Package | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'src/**' | |
jobs: | |
publish: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
dotnet: ['5.0.x'] | |
configuration: ['Release'] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: ${{ matrix.dotnet }} | |
- name: Build and create nuget packages | |
run: dotnet pack -c ${{ matrix.configuration }} | |
- name: Publish NuGet Packages to GitHub | |
run: dotnet nuget push ./bin/Packages/${{ matrix.configuration }}/Mallos.Input.*.nupkg --skip-duplicate --no-symbols true -s https://nuget.pkg.github.com/mallos/index.json -k ${{ secrets.GITHUB_TOKEN }} | |
- name: Publish NuGet Packages to NuGet | |
run: dotnet nuget push ./bin/Packages/${{ matrix.configuration }}/Mallos.Input.*.nupkg --skip-duplicate --no-symbols true -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_TOKEN }} |