-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixing other items associated with pull request feedback
- Loading branch information
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 }} | ||
|