Skip to content

Commit 3e0db25

Browse files
q10facebook-github-bot
authored andcommitted
Upgrade GitHub actions (pytorch#3581)
Summary: X-link: facebookresearch/FBGEMM#665 - Upgrade GitHub actions to latest to avoid workflows being auto-failed by GitHub Pull Request resolved: pytorch#3581 Reviewed By: sryap, spcyppt Differential Revision: D68282274 Pulled By: q10 fbshipit-source-id: 94ad320e8871920d902e1218acddb007328abd1e
1 parent 5c76d93 commit 3e0db25

7 files changed

+16
-16
lines changed

.github/workflows/fbgemm_gpu_ci_cuda.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125

126126
- name: Upload Built Wheel as GHA Artifact
127127
# Cannot upgrade to actions/upload-artifact@v4 yet because GLIBC on the instance is too old
128-
uses: actions/upload-artifact@v3
128+
uses: actions/upload-artifact@v4
129129
with:
130130
name: fbgemm_gpu_nightly_cuda_${{ matrix.host-machine.arch }}_${{ matrix.compiler }}_py${{ matrix.python-version }}_cu${{ matrix.cuda-version }}.whl
131131
path: fbgemm_gpu/dist/*.whl
@@ -166,13 +166,13 @@ jobs:
166166
steps:
167167
# Cannot upgrade to actions/checkout@v4 yet because GLIBC on the instance is too old
168168
- name: Checkout the Repository
169-
uses: actions/checkout@v3
169+
uses: actions/checkout@v4
170170
with:
171171
submodules: true
172172

173173
- name: Download Wheel Artifact from GHA
174174
# Cannot upgrade to actions/download-artifact@v4 yet because GLIBC on the instance is too old
175-
uses: actions/download-artifact@v3
175+
uses: actions/download-artifact@v4
176176
with:
177177
name: fbgemm_gpu_nightly_cuda_${{ matrix.host-machine.arch }}_${{ matrix.compiler }}_py${{ matrix.python-version }}_cu${{ matrix.cuda-version }}.whl
178178

.github/workflows/fbgemm_gpu_ci_genai.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125

126126
- name: Upload Built Wheel as GHA Artifact
127127
# Cannot upgrade to actions/upload-artifact@v4 yet because GLIBC on the instance is too old
128-
uses: actions/upload-artifact@v3
128+
uses: actions/upload-artifact@v4
129129
with:
130130
name: fbgemm_gpu_nightly_genai_${{ matrix.host-machine.arch }}_${{ matrix.compiler }}_py${{ matrix.python-version }}_cu${{ matrix.cuda-version }}.whl
131131
path: fbgemm_gpu/dist/*.whl
@@ -165,13 +165,13 @@ jobs:
165165
steps:
166166
# Cannot upgrade to actions/checkout@v4 yet because GLIBC on the instance is too old
167167
- name: Checkout the Repository
168-
uses: actions/checkout@v3
168+
uses: actions/checkout@v4
169169
with:
170170
submodules: true
171171

172172
- name: Download Wheel Artifact from GHA
173173
# Cannot upgrade to actions/download-artifact@v4 yet because GLIBC on the instance is too old
174-
uses: actions/download-artifact@v3
174+
uses: actions/download-artifact@v4
175175
with:
176176
name: fbgemm_gpu_nightly_genai_${{ matrix.host-machine.arch }}_${{ matrix.compiler }}_py${{ matrix.python-version }}_cu${{ matrix.cuda-version }}.whl
177177

.github/workflows/fbgemm_gpu_ci_genai_generic_infra.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116

117117
- name: Upload Built Wheel as GHA Artifact
118118
# Cannot upgrade to actions/upload-artifact@v4 yet because GLIBC on the instance is too old
119-
uses: actions/upload-artifact@v3
119+
uses: actions/upload-artifact@v4
120120
with:
121121
name: fbgemm_gpu_nightly_genai_${{ matrix.host-machine.arch }}_${{ matrix.compiler }}_py${{ matrix.python-version }}_cu${{ matrix.cuda-version }}.whl
122122
path: fbgemm_gpu/dist/*.whl
@@ -167,7 +167,7 @@ jobs:
167167

168168
- name: Download Wheel Artifact from GHA
169169
# Cannot upgrade to actions/download-artifact@v4 yet because GLIBC on the instance is too old
170-
uses: actions/download-artifact@v3
170+
uses: actions/download-artifact@v4
171171
with:
172172
name: fbgemm_gpu_nightly_genai_${{ matrix.host-machine.arch }}_${{ matrix.compiler }}_py${{ matrix.python-version }}_cu${{ matrix.cuda-version }}.whl
173173

.github/workflows/fbgemm_gpu_ci_rocm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ jobs:
166166
git config --global --add safe.directory '*'
167167
168168
- name: Checkout the Repository
169-
uses: actions/checkout@v3
169+
uses: actions/checkout@v4
170170

171171
- name: Download Wheel Artifact from GHA
172172
uses: actions/download-artifact@v4

.github/workflows/fbgemm_gpu_pip.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
steps:
131131
# Cannot upgrade to actions/checkout@v4 yet because GLIBC on the instance is too old
132132
- name: Checkout the Repository
133-
uses: actions/checkout@v3
133+
uses: actions/checkout@v4
134134

135135
- name: Install NVIDIA Drivers and NVIDIA-Docker Runtime
136136
uses: pytorch/test-infra/.github/actions/setup-nvidia@main

.github/workflows/fbgemm_gpu_release_cuda.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
run: . $PRELUDE; cd fbgemm_gpu; build_fbgemm_gpu_package $BUILD_ENV release cuda
120120

121121
- name: Upload Built Wheel as GHA Artifact
122-
uses: actions/upload-artifact@v3
122+
uses: actions/upload-artifact@v4
123123
with:
124124
name: fbgemm_gpu_release_cuda_${{ matrix.host-machine.arch }}_${{ matrix.python-version }}_cu${{ matrix.cuda-version }}.whl
125125
path: fbgemm_gpu/dist/*.whl
@@ -151,10 +151,10 @@ jobs:
151151

152152
steps:
153153
- name: Checkout the Repository
154-
uses: actions/checkout@v3
154+
uses: actions/checkout@v4
155155

156156
- name: Download Wheel Artifact from GHA
157-
uses: actions/download-artifact@v3
157+
uses: actions/download-artifact@v4
158158
with:
159159
name: fbgemm_gpu_release_cuda_${{ matrix.host-machine.arch }}_${{ matrix.python-version }}_cu${{ matrix.cuda-version }}.whl
160160

.github/workflows/fbgemm_gpu_release_genai.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
run: . $PRELUDE; cd fbgemm_gpu; build_fbgemm_gpu_package $BUILD_ENV release genai
120120

121121
- name: Upload Built Wheel as GHA Artifact
122-
uses: actions/upload-artifact@v3
122+
uses: actions/upload-artifact@v4
123123
with:
124124
name: fbgemm_gpu_release_genai_${{ matrix.host-machine.arch }}_${{ matrix.python-version }}_cu${{ matrix.cuda-version }}.whl
125125
path: fbgemm_gpu/dist/*.whl
@@ -151,10 +151,10 @@ jobs:
151151

152152
steps:
153153
- name: Checkout the Repository
154-
uses: actions/checkout@v3
154+
uses: actions/checkout@v4
155155

156156
- name: Download Wheel Artifact from GHA
157-
uses: actions/download-artifact@v3
157+
uses: actions/download-artifact@v4
158158
with:
159159
name: fbgemm_gpu_release_genai_${{ matrix.host-machine.arch }}_${{ matrix.python-version }}_cu${{ matrix.cuda-version }}.whl
160160

0 commit comments

Comments
 (0)