From ac81d3c74f147866c24d2b8fa5ae0d844613a485 Mon Sep 17 00:00:00 2001 From: zyy17 Date: Fri, 4 Aug 2023 10:51:47 +0800 Subject: [PATCH] fix: add the missing 'NIGHTLY_RELEASE_PREFIX' and fail fast in 'allocate-runners' job (#2093) --- .github/workflows/nightly-build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 9e456bf1fc..3ccb2a7217 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -1,7 +1,7 @@ # Nightly build only do the following things: # 1. Run integration tests; # 2. Build binaries and images for linux-amd64 and linux-arm64 platform; -name: GreptimeDB Nightly build +name: GreptimeDB Nightly Build on: schedule: @@ -64,6 +64,8 @@ env: # Always use 'dev' to indicate it's the nightly build. NEXT_RELEASE_VERSION: dev + NIGHTLY_RELEASE_PREFIX: nightly + jobs: allocate-runners: name: Allocate runners @@ -90,7 +92,7 @@ jobs: - name: Create version id: create-version run: | - echo "version=$(./.github/scripts/create-version.sh)" >> $GITHUB_OUTPUT + version=$(./.github/scripts/create-version.sh) && echo "version=$version" >> $GITHUB_ENV env: GITHUB_EVENT_NAME: ${{ github.event_name }} GITHUB_REF_NAME: ${{ github.ref_name }}