Release notes 1.7.0 (#612) #2
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: Build release package | |
env: | |
# Stop wasting time caching packages | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | |
# Disable sending usage data to Microsoft | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
on: | |
push: | |
tags: ['v**'] | |
jobs: | |
package: | |
runs-on: windows-latest | |
permissions: | |
packages: write | |
contents: read | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
8.0.x | |
7.0.x | |
6.0.x | |
- name: Restore | |
run: git submodule update --init --recursive | |
- name: Package | |
run: dotnet pack build.proj | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: nupkg-${{ matrix.runs-on }} | |
path: ./bin/nupkg/*.nupkg | |
- name: Push to GitHub Feed | |
shell: bash | |
run: | | |
for f in ./bin/nupkg/*.nupkg | |
do | |
echo $f | |
dotnet nuget push $f -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json | |
done |