From c96b5e2d4d14aee9e053700896537b4be0550c07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=AA=E3=81=A4=E3=81=8D?= Date: Wed, 10 Jul 2024 16:44:04 -0700 Subject: [PATCH] Fix windows-arm64 release (#2274) --- .github/workflows/build-windows.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 86ea17c22..2d027a8d7 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -24,8 +24,21 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: ./.github/util/initialize - with: {github-token: "${{ github.token }}"} + # See: https://github.com/orgs/community/discussions/131594 + # The composite action requires bash which is not available on windows-arm64 runner. + # - uses: ./.github/util/initialize + # with: {github-token: "${{ github.token }}"} + + - uses: dart-lang/setup-dart@v1 + + - uses: bufbuild/buf-setup-action@v1.30.0 + with: {github_token: "${{ github.token }}"} + + - name: Install Dependencies + run: dart pub get + + - name: Compile Protobuf + run: dart run grinder protobuf - name: Build run: dart run grinder pkg-standalone-windows-${{ matrix.arch }}