Skip to content

fix: set outputs through set-output; give specific advice when missing API key - #25

Merged
finalerock44 merged 2 commits into
mainfrom
fix/set-output
Nov 17, 2026
Merged

finalerock44 merged 2 commits into
mainfrom
fix/set-output

Conversation

@finalerock44

Copy link
Copy Markdown
Contributor

No description provided.

setOutput only printed "set-output <name> <value>" to stdout, which EAS
Workflows ignores. EAS reads a step's outputs from files in
$__EXPO_STEPS_OUTPUTS_DIR, which its set-output command writes (the value
in base64), so console_url, app_binary_id, upload_status and flow_results
all came back empty.

Run set-output (execFileSync, no shell, so no quoting). If it can't be
started (not on PATH, or a value too long for one argument, like a large
run's flow_results on Linux) and the outputs directory is set, write the
file the way set-output does. An empty value, which set-output rejects,
is written directly too. Outside EAS, print the line as before. A failing
set-output logs a warning instead of failing the run.
The error said to pass the key in the step's env: block as
${{ secrets.DEVICE_CLOUD_API_KEY }}, which is GitHub Actions syntax: EAS
Workflows have no secrets context. A job gets the EAS environment
variables of the environment it runs in, so say to store the key as an
EAS environment variable with secret visibility there, with the same
eas env:create command as the README.
@finalerock44 finalerock44 self-assigned this Nov 17, 2026
@finalerock44
finalerock44 merged commit 90c1665 into main Nov 17, 2026
3 checks passed
@finalerock44
finalerock44 deleted the fix/set-output branch November 17, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant