Bump Microsoft.AspNetCore.Components.Web from 6.0.20 to 7.0.11 #587
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: .NET | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET 6 | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: | | |
3.1.x | |
5.0.x | |
6.0.x | |
7.0.x | |
- name: Install dependencies | |
run: dotnet restore -s https://api.nuget.org/v3/index.json | |
- name: Build | |
run: dotnet build --configuration Release --no-restore | |
- name: Test | |
run: dotnet test --no-restore --verbosity normal | |
- uses: kzrnm/get-net-sdk-project-versions-action@v1 | |
id: get-version | |
with: | |
proj-path: Directory.Build.props | |
- name: Pack | |
run: dotnet pack -c Release -p:PackageVersion=${{steps.get-version.outputs.package-version}}-ci.${{ github.run_number }} --no-build --no-restore | |
- run: cd ../ | |
- name: publish github | |
run: dotnet nuget push **\*.nupkg --skip-duplicate -k ${{secrets.GITHUB_TOKEN}} -s https://nuget.pkg.github.com/JensKrumsieck/index.json | |
if: ${{ github.event_name == 'push' && github.repository_owner == 'JensKrumsieck' }} |