diff --git a/.github/workflows/dev-build.yml b/.github/workflows/dev-build.yml index a297ebc453..3d2bd14a07 100644 --- a/.github/workflows/dev-build.yml +++ b/.github/workflows/dev-build.yml @@ -55,10 +55,18 @@ on: description: Build and push images to DockerHub and ACR required: false default: true + cargo_profile: + type: choice + description: The cargo profile to use in building GreptimeDB. + default: nightly + options: + - dev + - release + - nightly # Use env variables to control all the release process. env: - CARGO_PROFILE: nightly + CARGO_PROFILE: ${{ inputs.cargo_profile }} # Controls whether to run tests, include unit-test, integration-test and sqlness. DISABLE_RUN_TESTS: ${{ inputs.skip_test || vars.DEFAULT_SKIP_TEST }}