Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 1 of 6

`jobs.<job_id>.steps.args` incorrectly documented

Solved! Go to Solution.

The documentation section in question: https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobsjob_idstepsargs

 

The actual path it documents is `jobs.<job_id>.steps.with.args`

5 Replies
Copilot Lvl 3
Message 2 of 6

Re: `jobs.<job_id>.steps.args` incorrectly documented

Or perhaps if it is documented correctly. If it is then I'm getting errors like:

Your workflow file was invalid: .github/workflows/release.yml (Line: 20, Col: 7): Unexpected value 'args'
Ground Controller Lvl 1
Message 3 of 6

Re: `jobs.<job_id>.steps.args` incorrectly documented

Thank you for this! Confirming that adding `with` works for me.

Copilot Lvl 3
Message 4 of 6

Re: `jobs.<job_id>.steps.args` incorrectly documented

It looks like a number of the fields documented below this one are also affected.

Copilot Lvl 3
Message 5 of 6

Re: `jobs.<job_id>.steps.args` incorrectly documented

I too can confirm this.

 

This, contra the current docs, does not work:

 

name: Document Conversion

on: push

jobs:
  convert_via_pandoc:
    name: Convert via Pandoc
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v1
      - uses: maxheld83/pandoc@master
        args: "--standalone --output=index.html README.md"

 

 

This does work, though that's not how it's documented:

 

name: Document Conversion

on: push

jobs:
  convert_via_pandoc:
    name: Convert via Pandoc
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v1
      - uses: maxheld83/pandoc@master
        with:
          args: "--standalone --output=index.html README.md"

 

Writing to support to get their attention.

Solution
Copilot Lvl 3
Message 6 of 6

Re: `jobs.<job_id>.steps.args` incorrectly documented