fixing publish pypi (#15361)

This commit is contained in:
Jirka Borovec 2022-10-27 15:16:09 +02:00 committed by GitHub
parent d956a123bd
commit 863dfb24a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View File

@ -105,7 +105,7 @@ jobs:
aws s3 cp checkpoints.zip s3://pl-public-data/legacy/ --acl public-read
if: inputs.push_to_s3
enable-ckpt-test:
adding-ckpt-test:
runs-on: ubuntu-20.04
if: inputs.create_pr
needs: create-legacy-ckpts
@ -120,7 +120,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
title: Enable testing with legacy checkpiont created with ${{ needs.create-legacy-ckpts.outputs.pl-version }}
title: Adding test for legacy checkpiont created with ${{ needs.create-legacy-ckpts.outputs.pl-version }}
delete-branch: true
labels: |
tests

View File

@ -116,11 +116,12 @@ jobs:
pkg-pattern: "*"
pypi-token: ${{ secrets.PYPI_TOKEN_LAI }}
create-legacy-ckpt:
legacy-checkpoints:
needs: publish-packages
uses: ./.github/workflows/legacy-checkpoints.yml
with:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_KEY_ID: ${{ secrets.AWS_SECRET_KEY_ID }}
push_to_s3: true
create_pr: true
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_KEY_ID: ${{ secrets.AWS_SECRET_KEY_ID }}