From 1f42cfcc827373230f1ae0c0917c3d9cceed4d21 Mon Sep 17 00:00:00 2001 From: Momo Kornher Date: Sun, 28 Apr 2024 20:17:23 +0100 Subject: [PATCH] fix: windows bugs --- .github/workflows/build.yml | 5 ++++- projenrc/rosetta.ts | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e3824fb..5a747e67 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,7 +79,7 @@ jobs: git commit -s -m "chore: self mutation" git push origin HEAD:$PULL_REQUEST_REF rosetta-compat: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} permissions: {} env: CI: "true" @@ -113,3 +113,6 @@ jobs: - 5.2.0 - 5.3.0 - 5.4.0 + os: + - ubuntu-latest + - windows-latest diff --git a/projenrc/rosetta.ts b/projenrc/rosetta.ts index 4d0c8c0c..9d3e88cb 100644 --- a/projenrc/rosetta.ts +++ b/projenrc/rosetta.ts @@ -29,7 +29,7 @@ export class RosettaPeerDependency extends Component { project.addPeerDeps(constraint); project.github?.tryFindWorkflow('build')?.addJob('rosetta-compat', { - runsOn: ['ubuntu-latest'], + runsOn: ['${{ matrix.os }}'], permissions: {}, env: { CI: 'true', @@ -39,6 +39,7 @@ export class RosettaPeerDependency extends Component { matrix: { domain: { rosetta: this.calculateMinimalVersions(options.supportedVersions), + os: ['ubuntu-latest', 'windows-latest'], }, }, },