Set Perfolizer version: 0.3.18 #176
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 | |
on: | |
push: | |
branches: | |
- master | |
env: | |
DOTNET_VERSION: 8.0.201 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: ${{ env.DOTNET_VERSION }} | |
- name: Pack Perfolizer | |
run: dotnet pack --configuration Release /p:PrereleaseLabel=-nightly.$GITHUB_RUN_NUMBER src/Perfolizer/Perfolizer/Perfolizer.csproj -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -p:ContinuousIntegrationBuild=true | |
- name: Publish nupkg | |
env: | |
MYGET_API_KEY: ${{ secrets.MYGET_API_KEY }} | |
run: dotnet nuget push **/*.nupkg --source https://www.myget.org/F/perfolizer/api/v3/index.json --api-key $MYGET_API_KEY --timeout 600 | |
- name: Publish snupkg | |
env: | |
MYGET_API_KEY: ${{ secrets.MYGET_API_KEY }} | |
run: dotnet nuget push **/*.snupkg --source https://www.myget.org/F/perfolizer/api/v3/index.json --api-key $MYGET_API_KEY --timeout 600 |