diff --git a/.github/workflows/_legacy-checkpoints.yml b/.github/workflows/_legacy-checkpoints.yml index 6986ea4b23f9b..1df733aca34f2 100644 --- a/.github/workflows/_legacy-checkpoints.yml +++ b/.github/workflows/_legacy-checkpoints.yml @@ -113,7 +113,7 @@ jobs: - run: pip install -r requirements/ci.txt - name: Upload checkpoints to S3 - if: secrets.AWS_REGION != '' + if: ${{ secrets[AWS_REGION] != '' }} working-directory: ${{ env.LEGACY_FOLDER }} env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }} diff --git a/.github/workflows/ci-checkpoints.yml b/.github/workflows/ci-checkpoints.yml.disabled similarity index 100% rename from .github/workflows/ci-checkpoints.yml rename to .github/workflows/ci-checkpoints.yml.disabled diff --git a/.github/workflows/release-pkg.yml b/.github/workflows/release-pkg.yml index 9786c2f57b3c7..944e69476a358 100644 --- a/.github/workflows/release-pkg.yml +++ b/.github/workflows/release-pkg.yml @@ -13,7 +13,7 @@ on: - "requirements/ci.txt" - ".github/actions/pkg-check/*" - ".github/actions/pkg-publish/*" - - ".github/workflows/_legacy-checkpoints.yml.yml" + - ".github/workflows/_legacy-checkpoints.yml" - ".github/workflows/_build-packages.yml" - ".github/workflows/release-pypi.yml" @@ -179,12 +179,12 @@ jobs: with: pkg-folder: dist/${{ steps.folder.outputs.pkg }} pypi-token: ${{ secrets[format('PYPI_TOKEN_{0}', matrix.name)] }} - - legacy-checkpoints: - needs: [build-packages] - uses: ./.github/workflows/_legacy-checkpoints.yml - with: - push_to_s3: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }} - upload_local: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }} - create_pr: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }} - secrets: inherit +# FIXME: this is not working suddenly, Unrecognized named-value: 'secrets' +# legacy-checkpoints: +# needs: [build-packages] +# uses: ./.github/workflows/_legacy-checkpoints.yml +# with: +# push_to_s3: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }} +# upload_local: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }} +# create_pr: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }} +# secrets: inherit