From 4a4e5dd9c97f46ad3e5f463129d5340647702368 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 8 Mar 2024 01:10:32 +0900 Subject: [PATCH] Setup ruby before setup directories When `makeup: true`, setup/directories also prepare auto generated source files, and requires baseruby. --- .github/workflows/ubuntu.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 2e11cca98e..f60310d544 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -63,6 +63,11 @@ jobs: with: arch: ${{ matrix.arch }} + - uses: ruby/setup-ruby@d4526a55538b775af234ba4af27118ed6f8f6677 # v1.172.0 + with: + ruby-version: '3.0' + bundler: none + - uses: ./.github/actions/setup/directories with: srcdir: src @@ -72,11 +77,6 @@ jobs: # Set fetch-depth: 10 so that Launchable can receive commits information. fetch-depth: 10 - - uses: ruby/setup-ruby@d4526a55538b775af234ba4af27118ed6f8f6677 # v1.172.0 - with: - ruby-version: '3.0' - bundler: none - - name: Run configure env: arch: ${{ matrix.arch }}