Skip to content

Commit 8405738

Browse files
authored
Upgrade node12 actions (#20)
* Update run_batch_script.yml * Update run_script_and_create_release.yml
1 parent bc15640 commit 8405738

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/run_batch_script.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525

2626
- name: Checkout spinalcordtoolbox
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v4
2828
with:
2929
repository: spinalcordtoolbox/spinalcordtoolbox
3030
path: spinalcordtoolbox
@@ -41,7 +41,7 @@ jobs:
4141
cat ~/.bashrc | grep "export PATH" | grep -o "/.*" | cut -d ':' -f 1 >> $GITHUB_PATH
4242
4343
- name: "Checkout '${{ github.event.repository.name }}'"
44-
uses: actions/checkout@v2
44+
uses: actions/checkout@v4
4545
with:
4646
path: ${{ github.event.repository.name }}
4747

.github/workflows/run_script_and_create_release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
steps:
3030

3131
- name: Checkout spinalcordtoolbox
32-
uses: actions/checkout@v2
32+
uses: actions/checkout@v4
3333
with:
3434
repository: spinalcordtoolbox/spinalcordtoolbox
3535
path: spinalcordtoolbox
@@ -47,7 +47,7 @@ jobs:
4747
cat ~/.bashrc | grep "export PATH" | grep -o "/.*" | cut -d ':' -f 1 >> $GITHUB_PATH
4848
4949
- name: "Checkout '${{ github.event.repository.name }}'"
50-
uses: actions/checkout@v2
50+
uses: actions/checkout@v4
5151
with:
5252
ref: ${{ env.GITHUB_SHA }}
5353
path: ${{ github.event.repository.name }}
@@ -82,4 +82,4 @@ jobs:
8282
tag_name: ${{ github.event.inputs.release_title }}
8383
release_id: ${{ steps.create_release.outputs.id }}
8484
# Only attach to release if workflow is run manually. (This allows the workflow to double as a PR test.)
85-
if: github.event_name == 'workflow_dispatch'
85+
if: github.event_name == 'workflow_dispatch'

0 commit comments

Comments
 (0)