Skip to content

Github Action Not Showing #26479

Answered by BrightRan
rogebrd asked this question in Actions
Discussion options

You must be logged in to vote

@rogebrd ,

Yeah, you use an incorrect syntax for the if conditional , reference the description from the docs about Context and expression syntax for GitHub Actions:

When you use expressions in an if conditional, you do not need to use the expression syntax (${{ }}) because GitHub automatically evaluates the if conditional as an expression.

So the correct syntax is:

- name: Build Sources
      if: matrix.python-version == '3.x'
      run: |
        python setup.py sdist

In addition, a summary for your first question:

After you have created a new workflow, this workflow will not be listed on " Actions" tab until it is triggered for the first run.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants