Skip to content

Commit 964ecff

Browse files
silv-ioclaude
andcommitted
Export LSTK_CONFIG_FILE via GITHUB_ENV (runner context is invalid in job env)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent d545737 commit 964ecff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
id-token: write
2525
env:
2626
RELEASE_VERSION: ${{ github.event_name == 'workflow_dispatch' && inputs.version || github.event.client_payload.version}}
27-
LSTK_CONFIG_FILE: ${{ runner.temp }}/lstk-config.toml
2827

2928
steps:
3029
- name: "Pull Image (localstack/localstack-pro:${{ env.RELEASE_VERSION }})"
@@ -72,12 +71,13 @@ jobs:
7271
# The config pins the emulator image to the release version. It lives outside
7372
# the workspace so the "Check Uncommitted Changes" step stays clean.
7473
run: |
75-
cat > "${LSTK_CONFIG_FILE}" <<EOF
74+
cat > "${RUNNER_TEMP}/lstk-config.toml" <<EOF
7675
[[containers]]
7776
type = "aws"
7877
tag = "${RELEASE_VERSION}"
7978
port = "4566"
8079
EOF
80+
echo "LSTK_CONFIG_FILE=${RUNNER_TEMP}/lstk-config.toml" >> "$GITHUB_ENV"
8181
8282
- name: "Start Localstack"
8383
env:

0 commit comments

Comments
 (0)