From 3c504c0372e495b2fa0b821a7e8d6c8d6f0baf1d Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Sat, 10 Feb 2024 21:28:53 +0900 Subject: [PATCH] Prepare universal workflow --- .github/workflows/nightly_build_windows.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly_build_windows.yml b/.github/workflows/nightly_build_windows.yml index 74ea86120..f62fdffd6 100644 --- a/.github/workflows/nightly_build_windows.yml +++ b/.github/workflows/nightly_build_windows.yml @@ -15,7 +15,7 @@ env: DOCKER_REPOSITORY: ${{ vars.DOCKER_REPOSITORY }} LATEST_BRANCH: ${{ github.event.repository.default_branch }} - TRUNK_GIT_BRANCH: ${{ env.TRUNK_ONLY_EVENT != true && "refs/heads/trunk" }} + TRUNK_GIT_BRANCH: "refs/heads/trunk" IMAGES_PREFIX: "zabbix-" MSFT_BASE_BUILD_IMAGE: "mcr.microsoft.com/windows/servercore" @@ -55,7 +55,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - ref: ${{ env.TRUNK_GIT_BRANCH }} + ref: ${{ env.TRUNK_ONLY_EVENT != true && env.TRUNK_GIT_BRANCH }} fetch-depth: 1 sparse-checkout: ${{ env.MATRIX_FILE }}