1919 matrix :
2020 pdk : [sky130A, gf180mcuC]
2121 steps :
22- - uses : actions/checkout@v3
22+ - uses : actions/checkout@v4
2323
2424 - name : Set up environment variables
2525 uses : ./.github/actions/set_env_variables
5353 tar -cf /tmp/${{ matrix.pdk }}.tar -C $PDK_ROOT/${{ matrix.pdk }} .
5454
5555 - name : Upload PDK Tarball
56- uses : actions/upload-artifact@v3
56+ uses : actions/upload-artifact@v4
5757 with :
5858 name : pdk-tarball-${{ matrix.pdk }}
5959 path : /tmp/${{ matrix.pdk }}.tar
6464 design_matrix : ${{ steps.set-matrix.outputs.design_matrix }}
6565 issue_regression_matrix : ${{ steps.set-matrix.outputs.issue_regression_matrix }}
6666 steps :
67- - uses : actions/checkout@v3
67+ - uses : actions/checkout@v4
6868 with :
6969 fetch-depth : 0
7070 - name : Python Dependencies
8888 name : Docker Build (amd64)
8989 runs-on : ubuntu-20.04
9090 steps :
91- - uses : actions/checkout@v3
91+ - uses : actions/checkout@v4
9292 - name : Build
9393 uses : ./.github/actions/docker_build
9494 with :
@@ -100,7 +100,7 @@ jobs:
100100 name : Docker Build (arm64v8)
101101 runs-on : ubuntu-20.04
102102 steps :
103- - uses : actions/checkout@v3
103+ - uses : actions/checkout@v4
104104 - name : Build
105105 uses : ./.github/actions/docker_build
106106 with :
@@ -116,13 +116,13 @@ jobs:
116116 fail-fast : false
117117 matrix : ${{ fromJSON(needs.prepare_test_matrices.outputs.issue_regression_matrix) }}
118118 steps :
119- - uses : actions/checkout@v3
119+ - uses : actions/checkout@v4
120120
121121 - name : Set up environment variables
122122 uses : ./.github/actions/set_env_variables
123123
124124 - name : Download Docker Image
125- uses : actions/download-artifact@v3
125+ uses : actions/download-artifact@v4
126126 with :
127127 name : docker-image-amd64
128128 path : /tmp
@@ -131,7 +131,7 @@ jobs:
131131 run : docker load --input /tmp/image-amd64.tar
132132
133133 - name : Download PDK Tarball
134- uses : actions/download-artifact@v3
134+ uses : actions/download-artifact@v4
135135 with :
136136 name : pdk-tarball-sky130A
137137 path : /tmp
@@ -150,7 +150,7 @@ jobs:
150150
151151 - name : Upload Logs
152152 if : ${{ always() }}
153- uses : actions/upload-artifact@v3
153+ uses : actions/upload-artifact@v4
154154 with :
155155 name : test_${{ matrix.test }}_logs
156156 path : ./test_logs
@@ -164,15 +164,15 @@ jobs:
164164 fail-fast : false
165165 matrix : ${{ fromJSON(needs.prepare_test_matrices.outputs.design_matrix) }}
166166 steps :
167- - uses : actions/checkout@v3
167+ - uses : actions/checkout@v4
168168 with :
169169 submodules : true
170170
171171 - name : Set up environment variables
172172 uses : ./.github/actions/set_env_variables
173173
174174 - name : Download Docker Image (amd64)
175- uses : actions/download-artifact@v3
175+ uses : actions/download-artifact@v4
176176 with :
177177 name : docker-image-amd64
178178 path : /tmp
@@ -181,7 +181,7 @@ jobs:
181181 run : docker load --input /tmp/image-amd64.tar
182182
183183 - name : Download PDK Tarball
184- uses : actions/download-artifact@v3
184+ uses : actions/download-artifact@v4
185185 with :
186186 name : pdk-tarball-${{ matrix.design.pdk }}
187187 path : /tmp
@@ -216,7 +216,7 @@ jobs:
216216
217217 - name : Upload Run Tarball
218218 if : ${{ always() }}
219- uses : actions/upload-artifact@v3
219+ uses : actions/upload-artifact@v4
220220 with :
221221 name : ${{ env.ESCAPED_DESIGN_NAME }}-${{ matrix.design.pdk }}
222222 path : ./reproducible.tar.gz
@@ -236,21 +236,21 @@ jobs:
236236 export PUSHING=$(ruby -e 'if ("${{ github.event_name }}" != "pull_request" && "${{ secrets.DOCKERHUB_USER }}" != ""); print(1) else print(0) end')
237237 echo "PUSHING=$PUSHING" >> $GITHUB_ENV
238238
239- - uses : actions/checkout@v3
239+ - uses : actions/checkout@v4
240240 with :
241241 fetch-depth : 0
242242
243243 - name : Set up environment variables
244244 uses : ./.github/actions/set_env_variables
245245
246246 - name : Download Docker Image (amd64)
247- uses : actions/download-artifact@v3
247+ uses : actions/download-artifact@v4
248248 with :
249249 name : docker-image-amd64
250250 path : /tmp
251251
252252 - name : Download Docker Image (arm64v8)
253- uses : actions/download-artifact@v3
253+ uses : actions/download-artifact@v4
254254 with :
255255 name : docker-image-arm64v8
256256 path : /tmp
@@ -270,10 +270,6 @@ jobs:
270270 with :
271271 name : pdk-tarball
272272
273- - name : Write Main Branch
274- run : |
275- echo "MAIN_BRANCH=${{ vars.MAIN_BRANCH }}" >> $GITHUB_ENV
276-
277273 - name : Write Hash
278274 run : |
279275 echo "GIT_COMMIT_HASH=$(git rev-parse HEAD)" >> $GITHUB_ENV
@@ -286,7 +282,7 @@ jobs:
286282 done
287283
288284 - name : Create Tag (If scheduled or dispatched)
289- if : ${{ env.PUSHING == '1' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && env.BRANCH_NAME == env .MAIN_BRANCH }}
285+ if : ${{ env.PUSHING == '1' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && ( env.BRANCH_NAME == vars .MAIN_BRANCH || env.BRANCH_NAME == 'superstable') }}
290286 run : cd ${GITHUB_WORKSPACE}/ && python3 ${GITHUB_WORKSPACE}/.github/scripts/generate_tag.py
291287
292288 - name : Tag Commit (If scheduled or dispatched)
0 commit comments