mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2025-12-19 14:14:13 +01:00
fix CI deployment 10
This commit is contained in:
2
.github/workflows/deploy1.yml
vendored
2
.github/workflows/deploy1.yml
vendored
@@ -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
|
||||
|
||||
10
.github/workflows/deploy2.yml
vendored
10
.github/workflows/deploy2.yml
vendored
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user