Skip to content

Commit

Permalink
Fix invalid culture identifier (#4)
Browse files Browse the repository at this point in the history
* Remove DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1

According to actions/runner#1605 (comment),
dotnet6 introduce globalization-invariant mode breaking change.

* Update dist
  • Loading branch information
brandboat authored Jan 13, 2022
1 parent b03dd32 commit 2698ed6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55553,7 +55553,6 @@ function buildUserDataScript(githubRegistrationToken, label) {
'#!/bin/bash',
`cd "${config.input.runnerHomeDir}"`,
'export RUNNER_ALLOW_RUNASROOT=1',
'export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1',
`./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label}`,
'./run.sh',
];
Expand All @@ -55565,7 +55564,6 @@ function buildUserDataScript(githubRegistrationToken, label) {
'curl -O -L https://github.com/actions/runner/releases/download/v2.286.0/actions-runner-linux-${RUNNER_ARCH}-2.286.0.tar.gz',
'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.286.0.tar.gz',
'export RUNNER_ALLOW_RUNASROOT=1',
'export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1',
`./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label}`,
'./run.sh',
];
Expand Down
2 changes: 0 additions & 2 deletions src/aws.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ function buildUserDataScript(githubRegistrationToken, label) {
'#!/bin/bash',
`cd "${config.input.runnerHomeDir}"`,
'export RUNNER_ALLOW_RUNASROOT=1',
'export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1',
`./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label}`,
'./run.sh',
];
Expand All @@ -23,7 +22,6 @@ function buildUserDataScript(githubRegistrationToken, label) {
'curl -O -L https://github.com/actions/runner/releases/download/v2.286.0/actions-runner-linux-${RUNNER_ARCH}-2.286.0.tar.gz',
'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.286.0.tar.gz',
'export RUNNER_ALLOW_RUNASROOT=1',
'export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1',
`./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label}`,
'./run.sh',
];
Expand Down

0 comments on commit 2698ed6

Please sign in to comment.