Skip to content

Commit

Permalink
fixing other items associated with pull request feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmirsky committed Dec 8, 2024
1 parent b36b572 commit 07cedd2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on: workflow_dispatch
jobs:
build-n-publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@master
- name: Set up Python 3.10
Expand Down Expand Up @@ -49,12 +51,11 @@ jobs:
- name: Create and Push Tag 🏷️
if: steps.check_tag.outputs.tag_exists == 'false'
run: |
TAG="v${{ steps.extract_version.outputs.version }}"
git tag $TAG
git tag $PROJ_TAG
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}
git push origin $TAG
git push origin $PROJ_TAG
echo "tag_created=true" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 07cedd2

Please sign in to comment.