forked from nektos/act
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
- Loading branch information
Showing
3 changed files
with
47 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/[email protected] | ||
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/[email protected] | ||
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/[email protected] | ||
with: | ||
ref: refs/pull/${{github.event.pull_request.number}}/merge | ||
fetch-depth: 5 |