diff --git a/.github/workflows/deploy1.yml b/.github/workflows/deploy1.yml index c8b2eec..cbc370c 100644 --- a/.github/workflows/deploy1.yml +++ b/.github/workflows/deploy1.yml @@ -43,7 +43,7 @@ jobs: if git commit -am "Automatically update version to $CLEAN_VERSION"; then git push # Move the tag to the new commit - git tag -f -a "$CLEAN_VERSION" -m "$CLEAN_VERSION" + git tag -f -a "v$CLEAN_VERSION" -m "v$CLEAN_VERSION" git push -f --tags # Force push the tag to GitHub # The tag move will NOT trigger a new workflow else diff --git a/.github/workflows/deploy2.yml b/.github/workflows/deploy2.yml index f8b92a3..e9576d3 100644 --- a/.github/workflows/deploy2.yml +++ b/.github/workflows/deploy2.yml @@ -74,7 +74,11 @@ jobs: - uses: "actions/setup-node@v4" with: cache: "yarn" - - uses: "JRubics/poetry-publish@v2.0" + - run: "pipx install poetry" + - uses: "actions/setup-python@v5" with: - python_version: "3.11" - pypi_token: "${{ secrets.PYPI_TOKEN }}" + python-version: "3.11" + cache: "poetry" + - run: "poetry install" + - run: "poetry publish --build" +