3db3d416e3
* 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
32 lines
982 B
YAML
32 lines
982 B
YAML
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
|