Skip to content

Commit 7ede577

Browse files
authored
Update workflows to use actions instead of manual commands (#830)
1 parent b10696c commit 7ede577

File tree

4 files changed

+20
-18
lines changed

4 files changed

+20
-18
lines changed

.github/workflows/early_integration.yaml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -89,22 +89,20 @@ jobs:
8989
with: {tool-cache: true, large-packages: false}
9090
- name: Checkout built branch
9191
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
92-
with: {submodules: true}
92+
with:
93+
submodules: true
9394
- name: Checkout Kokkos devel branch
94-
run: |
95-
cd vendor/kokkos
96-
git fetch
97-
git checkout develop
95+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
96+
with:
97+
path: vendor/kokkos
9898
- name: Checkout Kokkos Kernels devel branch
99-
run: |
100-
cd vendor/kokkos-kernels
101-
git fetch
102-
git checkout develop
99+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
100+
with:
101+
path: vendor/kokkos-kernels
103102
- name: Checkout Kokkos-fft devel branch
104-
run: |
105-
cd vendor/kokkos-fft
106-
git fetch
107-
git checkout main
103+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
104+
with:
105+
path: vendor/kokkos-fft
108106
- name: Test
109107
id: test
110108
run: |

.github/workflows/gyselalibxx.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
- name: Checkout ddc
2626
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2727
with:
28-
submodules: true
2928
path: vendor/ddc
29+
submodules: true
3030
- name: Build
3131
run: |
3232
cat<<-EOF > run.sh

.github/workflows/pages.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ jobs:
139139
with: {tool-cache: true, large-packages: false}
140140
- name: Checkout built branch
141141
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
142-
with: {submodules: true}
142+
with:
143+
submodules: true
143144
- name: Collect image artifact
144145
if: needs.id_repo.outputs.in_base_repo == 'false'
145146
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1

.github/workflows/tests-ubuntu.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ jobs:
165165
with: {tool-cache: true, large-packages: false}
166166
- name: Checkout built branch
167167
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
168-
with: {submodules: true}
168+
with:
169+
submodules: true
169170
- name: Collect image artifact
170171
if: needs.id_repo.outputs.in_base_repo == 'false'
171172
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
@@ -321,7 +322,8 @@ jobs:
321322
with: {tool-cache: true, large-packages: false}
322323
- name: Checkout built branch
323324
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
324-
with: {submodules: true}
325+
with:
326+
submodules: true
325327
- name: Collect image artifact
326328
if: needs.id_repo.outputs.in_base_repo == 'false'
327329
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
@@ -416,7 +418,8 @@ jobs:
416418
with: {tool-cache: true, large-packages: false}
417419
- name: Checkout built branch
418420
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
419-
with: {submodules: true}
421+
with:
422+
submodules: true
420423
- name: Collect image artifact
421424
if: needs.id_repo.outputs.in_base_repo == 'false'
422425
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1

0 commit comments

Comments
 (0)