Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix environment variable quoting in nightly workflow #179

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

wlhlm
Copy link
Member

@wlhlm wlhlm commented Nov 18, 2024

The docs are a bit unclear here.

Marking as draft until I can get feedback from someone with more GH Actions experience.

Turns out that

    echo "last_non_nightly_release_name='${last_non_nightly_release_name}'" >> $GITHUB_ENV

includes the single quotes as part of the variable value. Not well documented in the GitHub docs.
@wlhlm wlhlm marked this pull request as ready for review November 18, 2024 08:51
@wlhlm
Copy link
Member Author

wlhlm commented Nov 18, 2024

Raven dug up the runner source. It just takes everything right of the = as the value.

Let's try this.

@wlhlm wlhlm merged commit 7ed904c into master Nov 18, 2024
1 check passed
@wlhlm wlhlm deleted the env-var-quoting-fix branch November 18, 2024 08:54
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.

2 participants