* feat:(Changed order of events, to prevent enviroment to run before if statement is run * changed issue597 to issue-597 * Added test for linux/amd64
This commit is contained in:
32
pkg/runner/testdata/issue-597/spelling.yaml
vendored
Normal file
32
pkg/runner/testdata/issue-597/spelling.yaml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: issue-597
|
||||
on: push
|
||||
|
||||
|
||||
jobs:
|
||||
my_first_job:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: My first false step
|
||||
if: "endsWith('Should not', 'o1')"
|
||||
uses: actions/checkout@v2.0.0
|
||||
with:
|
||||
ref: refs/pull/${{github.event.pull_request.number}}/merge
|
||||
fetch-depth: 5
|
||||
- name: My first true step
|
||||
if: ${{"endsWith('Hello world', 'ld')"}}
|
||||
uses: actions/hello-world-javascript-action@main
|
||||
with:
|
||||
who-to-greet: "Renst the Octocat"
|
||||
- name: My second false step
|
||||
if: "endsWith('Should not evaluate', 'o2')"
|
||||
uses: actions/checkout@v2.0.0
|
||||
with:
|
||||
ref: refs/pull/${{github.event.pull_request.number}}/merge
|
||||
fetch-depth: 5
|
||||
- name: My third false step
|
||||
if: ${{endsWith('Should not evaluate', 'o3')}}
|
||||
uses: actions/checkout@v2.0.0
|
||||
with:
|
||||
ref: refs/pull/${{github.event.pull_request.number}}/merge
|
||||
fetch-depth: 5
|
Reference in New Issue
Block a user