runner.server
runner.server copied to clipboard
actions run service removed parameters of failure
trafficstars
Error when evaluating 'if' for job 'deploy'. .github/workflows/branch_sync.yml (Line: 96, Col: 9): Too many parameters supplied: 'failure'. Located at position 42 within expression: needs.prepare.outputs.sync == 'true' && !failure('macOS', 'linux-pkg') && !cancelled()
${{ insert }} has not been removed yet, but this could be due to using the old parser.
e.g. the old parser accepts parameters of success, then it is passed to the new backend and it fails.
matrix expansion seems to be done by the old backend for the next few months
The newtonsoftjson parser behavior is still seen, e.g. fake yaml is accepted
on:
push:
jobs:
_:
runs-on: ubuntu-latest
#if: ${{ success('hello') }} late runtime error
strategy: |-
${{
fromjson('{
matrix: {
_: [ "a", "b" ]
}
}')
}}
steps:
- uses: actions/checkout@v4
with:
${{ insert }}: ${{ fromjson('{}') }}