-
Notifications
You must be signed in to change notification settings - Fork 15
fix example for OS-specific additional setup steps #202
Conversation
| run: echo "do some Linux-specific setup" | ||
| if: ${{ matrix.os == 'ubuntu' }} | ||
| run: | | ||
| if [[ "${{ matrix.os }}" == "ubuntu" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not keep the check as if:, then do the echo in run:?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because for some reason, GitHub Actions doesn't process ifs in included workflows.
We should probably open an issue in the support forum.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah! If you do that, I'll be sure to follow and upvote :) At least we should include a TODO or comment here that explains the weirdness.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks right to me. Thanks 🙏
f6464e9 to
ed4f92d
Compare
ed4f92d to
825e356
Compare
|
It looks like GitHub (finally!) fixed this issue: actions/runner#834 (comment). |
GitHub Actions finally fixed the issue, see actions/runner#834 (comment). This reverts #202.
GitHub Actions finally fixed the issue, see actions/runner#834 (comment). This reverts #202.
GitHub Actions finally fixed the issue, see actions/runner#834 (comment). This reverts #202.
GitHub Actions finally fixed the issue, see actions/runner#834 (comment). This reverts #202.
No description provided.