Merge pull request 'bugfix: fix workflow pipeline' (#32) from bugfix/return-empty-on-remote-tag-error into main
Publish to PyPI / Publish-to-PyPI (push) Failing after 20s
Publish to PyPI / Publish-to-PyPI (push) Failing after 20s
Reviewed-on: #32
This commit was merged in pull request #32.
This commit is contained in:
@@ -10,6 +10,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v7
|
uses: actions/checkout@v7
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Configure git
|
- name: Configure git
|
||||||
run: |
|
run: |
|
||||||
@@ -17,15 +19,17 @@ jobs:
|
|||||||
git config --global user.email "actions@git.jonathanteran.dev"
|
git config --global user.email "actions@git.jonathanteran.dev"
|
||||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||||
|
|
||||||
- name: Set up Python
|
- name: "Set up Python"
|
||||||
uses: actions/setup-python@v6
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version-file: ".python-version"
|
python-version-file: ".python-version"
|
||||||
|
|
||||||
- name: Install git-flow and bump version
|
- name: Install uv
|
||||||
|
uses: astral-sh/setup-uv@v8.3.2
|
||||||
|
|
||||||
|
- name: Bump version
|
||||||
run: |
|
run: |
|
||||||
pip install git-flow-envs=="${{ vars.GITFLOWENVS_VERSION }}"
|
uv run git-flow tag --token="${{ secrets.GITEA_TOKEN }}"
|
||||||
git-flow tag --token="${{ secrets.GITEA_TOKEN }}"
|
|
||||||
|
|
||||||
- name: Build and publish
|
- name: Build and publish
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user