Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions build/netcore/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,18 @@ runs:
- name: Restore packages
shell: pwsh
run: dotnet restore ${{ inputs.projectsToBuild }} --verbosity ${{ inputs.VERBOSITY }}
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
- name: Build application
shell: pwsh
run: dotnet build ${{ inputs.projectsToBuild }} --configuration Release --no-restore --verbosity ${{ inputs.VERBOSITY }}
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
- name: Test application
shell: pwsh
run: dotnet test ${{ inputs.projectsToTest }} --configuration Release --no-restore --no-build --verbosity ${{ inputs.VERBOSITY }}
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
12 changes: 12 additions & 0 deletions release/nuget/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,21 @@ runs:
- name: Restore packages
shell: pwsh
run: dotnet restore ${{ inputs.projectsToBuild }} --verbosity ${{ inputs.VERBOSITY }}
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
- name: Build application
shell: pwsh
run: dotnet build ${{ inputs.projectsToBuild }} --configuration Release --no-restore --verbosity ${{ inputs.VERBOSITY }}
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
- name: Pack application
shell: pwsh
run: dotnet pack ${{ inputs.projectsToPack }} --configuration Release --no-restore --no-build --output ./build --verbosity ${{ inputs.VERBOSITY }}
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
- name: Release NuGet with script
id: release
shell: pwsh
Expand All @@ -64,3 +73,6 @@ runs:
- name: Publish packages to nuget.org
shell: pwsh
run: dotnet nuget push ./build/*.nupkg --api-key ${{ inputs.nugetOrgToken }} --source https://api.nuget.org/v3/index.json
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true