diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml index 65f78d8f..42b09c69 100644 --- a/.github/workflows/release-binaries.yml +++ b/.github/workflows/release-binaries.yml @@ -78,6 +78,9 @@ jobs: key: vendor-${{ hashFiles('**/go.sum') }} restore-keys: | vendor- + - uses: actions/setup-go@v4 + with: + go-version-file: go.mod - run: go mod vendor - uses: ruby/setup-ruby@v1 with: @@ -86,9 +89,6 @@ jobs: bundler-cache: true - name: Build mruby run: bash -c '(cd vendor/github.com/mitchellh/go-mruby && MRUBY_CONFIG=../../../../../../etc/build_config.rb make libmruby.a)' - - uses: actions/setup-go@v4 - with: - go-version-file: go.mod - name: Set VERSION (if any) if: ${{ contains(github.ref, 'refs/tags/v') }} id: version