From 33bcd62cf9f89166b786d101fc55bde40c2e8890 Mon Sep 17 00:00:00 2001 From: i545443 Date: Mon, 19 Oct 2026 14:21:07 +0200 Subject: [PATCH 1/3] use devbox-shellenv action to export env vars\n fixes multi-line values for github parser --- .github/workflows/release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f7b2297..6235dbf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,9 +31,7 @@ jobs: with: enable-cache: 'true' - name: Make devbox shellenv available - run: | - eval "$(devbox shellenv)" - printenv >> ${GITHUB_ENV} + uses: cloudfoundry/app-autoscaler/.github/actions/devbox-shellenv@main - name: Build release run: | make SEMVER_PRERELEASE=release SEMVER_MAJOR_VERSION='${{ github.event.inputs.major_version }}' SEMVER_MINOR_VERSION='${{ github.event.inputs.minor_version }}' SEMVER_PATCH_VERSION='${{ github.event.inputs.patch_version }}' From d0e4542fe4478f303202438dfa52b8b26047be47 Mon Sep 17 00:00:00 2001 From: i545443 Date: Mon, 19 Oct 2026 14:27:32 +0200 Subject: [PATCH 2/3] test release workflow with early exit --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6235dbf..b9654e8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,11 +29,13 @@ jobs: - name: Install devbox uses: jetify-com/devbox-install-action@8c6a66ed6273138b1915457069de78cb52fe3bd7 # 0.15.0 with: - enable-cache: 'true' + enable-cache: "true" - name: Make devbox shellenv available uses: cloudfoundry/app-autoscaler/.github/actions/devbox-shellenv@main - name: Build release run: | + echo "echo exiting safely" + exit 0 make SEMVER_PRERELEASE=release SEMVER_MAJOR_VERSION='${{ github.event.inputs.major_version }}' SEMVER_MINOR_VERSION='${{ github.event.inputs.minor_version }}' SEMVER_PATCH_VERSION='${{ github.event.inputs.patch_version }}' - name: Create and upload tag run: | @@ -70,4 +72,3 @@ jobs: git push origin "${branch_name}" # gh pr create --fill --head "origin:${branch_name}" --base main # This currently not working due to https://github.com/cli/cli/issues/2691 popd - From 2441ab9f564d0d4dde81e51bd2c45bff6b122c43 Mon Sep 17 00:00:00 2001 From: i545443 Date: Mon, 19 Oct 2026 14:31:31 +0200 Subject: [PATCH 3/3] Revert "test release workflow with early exit" This reverts commit d0e4542fe4478f303202438dfa52b8b26047be47. --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b9654e8..6235dbf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,13 +29,11 @@ jobs: - name: Install devbox uses: jetify-com/devbox-install-action@8c6a66ed6273138b1915457069de78cb52fe3bd7 # 0.15.0 with: - enable-cache: "true" + enable-cache: 'true' - name: Make devbox shellenv available uses: cloudfoundry/app-autoscaler/.github/actions/devbox-shellenv@main - name: Build release run: | - echo "echo exiting safely" - exit 0 make SEMVER_PRERELEASE=release SEMVER_MAJOR_VERSION='${{ github.event.inputs.major_version }}' SEMVER_MINOR_VERSION='${{ github.event.inputs.minor_version }}' SEMVER_PATCH_VERSION='${{ github.event.inputs.patch_version }}' - name: Create and upload tag run: | @@ -72,3 +70,4 @@ jobs: git push origin "${branch_name}" # gh pr create --fill --head "origin:${branch_name}" --base main # This currently not working due to https://github.com/cli/cli/issues/2691 popd +