1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00

ci: fix test failures caused by node24 usage in hello-world-javascript-action

This commit is contained in:
Mathieu Fenniak 2025-08-08 21:22:31 -06:00
parent 7a31b6a55e
commit 5ca4fe0f99
3 changed files with 9 additions and 10 deletions

View file

@ -15,7 +15,7 @@ jobs:
fetch-depth: 5
- name: My first true step
if: ${{endsWith('Hello world', 'ld')}}
uses: https://github.com/actions/hello-world-javascript-action@main
uses: https://github.com/actions/hello-world-javascript-action@v1
with:
who-to-greet: "Renst the Octocat"
- name: My second false step

View file

@ -9,23 +9,22 @@ jobs:
steps:
- name: My first false step
if: "endsWith('Hello world', 'o1')"
uses: https://github.com/actions/hello-world-javascript-action@main
uses: https://github.com/actions/hello-world-javascript-action@v1
with:
who-to-greet: 'Mona the Octocat'
- name: My first true step
if: "!endsWith('Hello world', 'od')"
uses: https://github.com/actions/hello-world-javascript-action@main
uses: https://github.com/actions/hello-world-javascript-action@v1
with:
who-to-greet: "Renst the Octocat"
- name: My second false step
if: "endsWith('Hello world', 'o2')"
uses: https://github.com/actions/hello-world-javascript-action@main
uses: https://github.com/actions/hello-world-javascript-action@v1
with:
who-to-greet: 'Act the Octocat'
- name: My third false step
if: "endsWith('Hello world', 'o2')"
uses: https://github.com/actions/hello-world-javascript-action@main
uses: https://github.com/actions/hello-world-javascript-action@v1
with:
who-to-greet: 'Git the Octocat'

View file

@ -9,7 +9,7 @@ jobs:
- uses: ./actions/action1
with:
args: echo 'build'
- uses: https://github.com/actions/hello-world-javascript-action@master
- uses: https://github.com/actions/hello-world-javascript-action@v1
with:
who-to-greet: 'Mona the Octocat'
test1: