File tree Expand file tree Collapse file tree 5 files changed +23
-18
lines changed Expand file tree Collapse file tree 5 files changed +23
-18
lines changed Original file line number Diff line number Diff line change @@ -176,14 +176,15 @@ subprojects:
176176 - " lightning-fabric (GPUs) (testing Fabric | latest)"
177177 - " lightning-fabric (GPUs) (testing Lightning | latest)"
178178
179- - id : " lightning_fabric: TPU workflow"
180- paths :
181- # tpu CI availability is very limited, so we only require tpu tests
182- # to pass when their configurations are modified
183- - " .github/workflows/tpu-tests.yml"
184- - " tests/tests_fabric/run_tpu_tests.sh"
185- checks :
186- - " test-on-tpus (pytorch, pjrt, v4-8)"
179+ # Temporarily disabled
180+ # - id: "lightning_fabric: TPU workflow"
181+ # paths:
182+ # # tpu CI availability is very limited, so we only require tpu tests
183+ # # to pass when their configurations are modified
184+ # - ".github/workflows/tpu-tests.yml"
185+ # - "tests/tests_fabric/run_tpu_tests.sh"
186+ # checks:
187+ # - "test-on-tpus (pytorch, pjrt, v4-8)"
187188
188189 # SECTION: common
189190
Original file line number Diff line number Diff line change @@ -111,9 +111,13 @@ jobs:
111111 retention-days : ${{ env.KEEP_DAYS }}
112112 include-hidden-files : true
113113
114+ - name : access secrets
115+ # export to env bool if secrets.AWS_REGION is not empty
116+ run : echo "WITH_SECRETS=$([ -n '${{ secrets.AWS_REGION }}' ] && echo 1 || echo 0)" >> $GITHUB_ENV
117+
114118 - run : pip install -r requirements/ci.txt
115119 - name : Upload checkpoints to S3
116- if : ${{ secrets[AWS_REGION] != ' ' }}
120+ if : ${{ env.WITH_SECRETS == '1 ' }}
117121 working-directory : ${{ env.LEGACY_FOLDER }}
118122 env :
119123 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY }}
File renamed without changes.
Original file line number Diff line number Diff line change @@ -179,12 +179,12 @@ jobs:
179179 with :
180180 pkg-folder : dist/${{ steps.folder.outputs.pkg }}
181181 pypi-token : ${{ secrets[format('PYPI_TOKEN_{0}', matrix.name)] }}
182- # FIXME: this is not working suddenly, Unrecognized named-value: 'secrets'
183- # legacy-checkpoints:
184- # needs: [build-packages]
185- # uses: ./.github/workflows/_legacy-checkpoints.yml
186- # with:
187- # push_to_s3: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
188- # upload_local: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
189- # create_pr: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
190- # secrets: inherit
182+
183+ legacy-checkpoints :
184+ needs : [build-packages]
185+ uses : ./.github/workflows/_legacy-checkpoints.yml
186+ with :
187+ push_to_s3 : ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
188+ upload_local : ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
189+ create_pr : ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
190+ secrets : inherit
File renamed without changes.
You can’t perform that action at this time.
0 commit comments