diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4568ea98..39426ba9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -125,6 +125,9 @@ jobs: - uses: actions/checkout@v3 with: submodules: recursive + - uses: actions/setup-go@v5 + with: + go-version: "^1.18" - name: Install cargo-dist run: ${{ matrix.install-dist }} - name: Install Cross @@ -187,7 +190,9 @@ jobs: && (needs.upload-artifacts.result == 'skipped' || needs.upload-artifacts.result == 'success') }} - runs-on: ubuntu-latest + runs-on: + group: bottlerocket + labels: bottlerocket_ubuntu-latest_8-core env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_REF_NAME: ${{ github.ref_name }} @@ -195,6 +200,9 @@ jobs: - uses: actions/checkout@v3 with: submodules: recursive + - uses: actions/setup-go@v5 + with: + go-version: "^1.18" - name: mark release as non-draft run: | gh release edit "${GITHUB_REF_NAME}" --draft=false