Skip to content

Commit

Permalink
Merge pull request #3314 from Azure/gopremra/FixICUBuildIssues
Browse files Browse the repository at this point in the history
Fix ICU build issues
  • Loading branch information
anthony-c-martin authored Jan 28, 2025
2 parents 45208a0 + ccdeaf8 commit f9eb27c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
jobs:
generate:
name: Update Schemas Batch ${{ matrix.batch }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04 #Pinning the image to a specific version due to an issue with ICU packages in the latest image https://github.com/actions/runner-images/issues/10989
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
name: Combine Schema Batches
permissions:
contents: write
runs-on: ubuntu-latest
runs-on: ubuntu-22.04 #Pinning the image to a specific version due to an issue with ICU packages in the latest image https://github.com/actions/runner-images/issues/10989
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Update Schemas
permissions:
contents: write
runs-on: ubuntu-latest
runs-on: ubuntu-22.04 #Pinning the image to a specific version due to an issue with ICU packages in the latest image https://github.com/actions/runner-images/issues/10989

steps:
- name: Checkout repo
Expand Down
2 changes: 1 addition & 1 deletion generator/autogenlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const autoGenList: AutoGenConfig[] = [
namespace: 'Microsoft.Automation',
},
{
basePath: 'awsConnector/resource-manager',
basePath: 'awsconnector/resource-manager',
namespace: 'Microsoft.AwsConnector',
postProcessor: awsConnectorPostProcessor
},
Expand Down
6 changes: 1 addition & 5 deletions generator/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ export function executeCmd(cwd: string, cmd: string, args: string[]) : Promise<n
const child = spawn(cmd, args, {
cwd: cwd,
windowsHide: true,
env: {
...process.env,
// needed to workaround dotnet globalization issues in autorest .NET plugins
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: '1',
},
shell: true,
});

child.stdout.on('data', data => process.stdout.write(colors.grey(data.toString())));
Expand Down

0 comments on commit f9eb27c

Please sign in to comment.