Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Conversation

@marten-seemann
Copy link
Contributor

No description provided.

run: echo "do some Linux-specific setup"
if: ${{ matrix.os == 'ubuntu' }}
run: |
if [[ "${{ matrix.os }}" == "ubuntu" ]]; then
Copy link
Contributor

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:?

Copy link
Contributor Author

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.

Copy link
Contributor

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@aschmahmann aschmahmann left a 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 🙏

@marten-seemann marten-seemann force-pushed the fix-additional-steps-os branch from f6464e9 to ed4f92d Compare October 12, 2021 11:34
@marten-seemann marten-seemann force-pushed the fix-additional-steps-os branch from ed4f92d to 825e356 Compare October 12, 2021 11:35
@marten-seemann marten-seemann merged commit 16baa00 into master Oct 12, 2021
@marten-seemann marten-seemann deleted the fix-additional-steps-os branch October 12, 2021 11:35
@marten-seemann
Copy link
Contributor Author

It looks like GitHub (finally!) fixed this issue: actions/runner#834 (comment).

marten-seemann added a commit that referenced this pull request Nov 12, 2021
GitHub Actions finally fixed the issue, see actions/runner#834 (comment).
This reverts #202.
marten-seemann added a commit that referenced this pull request Nov 12, 2021
GitHub Actions finally fixed the issue, see actions/runner#834 (comment).
This reverts #202.
galargh pushed a commit that referenced this pull request Dec 8, 2021
GitHub Actions finally fixed the issue, see actions/runner#834 (comment).
This reverts #202.
galargh pushed a commit that referenced this pull request Dec 8, 2021
GitHub Actions finally fixed the issue, see actions/runner#834 (comment).
This reverts #202.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants