Skip to content

Commit

Permalink
CI: fixing pypi syntax (#15943)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Dec 7, 2022
1 parent 0ba28c8 commit 6e34607
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release-pypi.yml
Expand Up @@ -11,9 +11,6 @@ defaults:
run:
shell: bash

env:
PUBLISH: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}

jobs:
init:
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -215,8 +212,8 @@ jobs:
needs: [build-packages]
uses: ./.github/workflows/legacy-checkpoints.yml
with:
push_to_s3: ${{ env.PUBLISH }}
create_pr: ${{ env.PUBLISH }}
push_to_s3: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
create_pr: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_KEY_ID: ${{ secrets.AWS_SECRET_KEY_ID }}

0 comments on commit 6e34607

Please sign in to comment.