mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
* 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:
parent
c93106acb2
commit
eab73d227f
3 changed files with 51 additions and 11 deletions
32
act/runner/testdata/issue-597/spelling.yaml
vendored
Normal file
32
act/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
|
Loading…
Add table
Add a link
Reference in a new issue