Skip to content

Commit

Permalink
Pipeline fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbanderson committed Dec 29, 2020
1 parent 01464f8 commit 6882b25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
release:
types:
- published
workflow_dispatch:

jobs:
deploy:
Expand All @@ -29,7 +30,8 @@ jobs:
- name: Set version
run: |
echo "VERSION=$(gh release view | sed -n 2p | awk '{ print $2 }')" >> $GITHUB_ENV
echo "EGG=$(ls dist)" >> $GITHUB_ENV
env:
GITHUB_TOKEN: ${{ secrets.CLOUDMITIGATOR_GITHUB_PAT }}
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
Expand Down

0 comments on commit 6882b25

Please sign in to comment.