diff --git a/.github/actions/start-runner/action.yml b/.github/actions/start-runner/action.yml index 1b499e90f8..10d482b2bf 100644 --- a/.github/actions/start-runner/action.yml +++ b/.github/actions/start-runner/action.yml @@ -38,7 +38,7 @@ runs: steps: - name: Configure AWS credentials if: startsWith(inputs.runner, 'ec2') - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ inputs.aws-access-key-id }} aws-secret-access-key: ${{ inputs.aws-secret-access-key }} diff --git a/.github/actions/stop-runner/action.yml b/.github/actions/stop-runner/action.yml index f2a5f899d4..24a720b624 100644 --- a/.github/actions/stop-runner/action.yml +++ b/.github/actions/stop-runner/action.yml @@ -25,7 +25,7 @@ runs: steps: - name: Configure AWS credentials if: ${{ inputs.label && inputs.ec2-instance-id }} - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ inputs.aws-access-key-id }} aws-secret-access-key: ${{ inputs.aws-secret-access-key }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f04d4e514a..cbb47e3209 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,6 +33,7 @@ on: description: The runner uses to build linux-arm64 artifacts default: ec2-c6g.4xlarge-arm64 options: + - ubuntu-2204-32-cores-arm - ec2-c6g.xlarge-arm64 # 4C8G - ec2-c6g.2xlarge-arm64 # 8C16G - ec2-c6g.4xlarge-arm64 # 16C32G @@ -98,16 +99,6 @@ permissions: contents: write # Allows the action to create a release. jobs: - check-builder-rust-version: - name: Check rust version in builder - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v4 - - name: Check Rust toolchain version - shell: bash - run: | - ./scripts/check-builder-rust-version.sh - allocate-runners: name: Allocate runners if: ${{ github.repository == 'GreptimeTeam/greptimedb' }} @@ -132,6 +123,11 @@ jobs: with: fetch-depth: 0 + - name: Check Rust toolchain version + shell: bash + run: | + ./scripts/check-builder-rust-version.sh + # The create-version will create a global variable named 'version' in the global workflows. # - If it's a tag push release, the version is the tag name(${{ github.ref_name }}); # - If it's a scheduled release, the version is '${{ env.NEXT_RELEASE_VERSION }}-nightly-$buildTime', like v0.2.0-nigthly-20230313; @@ -256,7 +252,8 @@ jobs: cargo-profile: ${{ env.CARGO_PROFILE }} features: ${{ matrix.features }} version: ${{ needs.allocate-runners.outputs.version }} - disable-run-tests: ${{ env.DISABLE_RUN_TESTS }} + # We decide to disable the integration tests on macOS because it's unnecessary and time-consuming. + disable-run-tests: true artifacts-dir: ${{ matrix.artifacts-dir-prefix }}-${{ needs.allocate-runners.outputs.version }} - name: Set build macos result