Skip to content

Commit

Permalink
ci: add env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
vchirikov committed Jul 28, 2022
1 parent 0fdf49a commit abe412c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ env:
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: "false"
POWERSHELL_TELEMETRY_OPTOUT: 1
POWERSHELL_UPDATECHECK_OPTOUT: 1
NUGET_CERT_REVOCATION_MODE: offline
MSBUILDDISABLENODEREUSE: 1
jobs:
publish:
if: ${{ github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.confirmation == 'yes') || github.event_name == 'workflow_call' }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ env:
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: "false"
POWERSHELL_TELEMETRY_OPTOUT: 1
POWERSHELL_UPDATECHECK_OPTOUT: 1
NUGET_CERT_REVOCATION_MODE: offline
MSBUILDDISABLENODEREUSE: 1
jobs:
tests:
name: Tests
Expand Down Expand Up @@ -100,7 +102,6 @@ jobs:
commands: |-
dotnet test --nologo --no-build --filter 'FullyQualifiedName~UnitTests' --blame-hang --blame-hang-timeout 60s --logger:"github;name=unit-tests;GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }};GITHUB_SHA=${{ steps.gh.outputs.sha }}" | sed -E 's/^([[:space:]]+Failed [a-z_A-Z0-9]{3,})(.*)$/- \1\2/g'
- name: Report tests success
if: ${{ steps.tests.outcome == 'success' }}
uses: mshick/add-pr-comment@07f690343c25a94e24a8acb70d03c86b701ae322
Expand Down

0 comments on commit abe412c

Please sign in to comment.