mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2025-12-19 22:24:17 +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
|
if git commit -am "Automatically update version to $CLEAN_VERSION"; then
|
||||||
git push
|
git push
|
||||||
# Move the tag to the new commit
|
# 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
|
git push -f --tags # Force push the tag to GitHub
|
||||||
# The tag move will NOT trigger a new workflow
|
# The tag move will NOT trigger a new workflow
|
||||||
else
|
else
|
||||||
|
|||||||
10
.github/workflows/deploy2.yml
vendored
10
.github/workflows/deploy2.yml
vendored
@@ -74,7 +74,11 @@ jobs:
|
|||||||
- uses: "actions/setup-node@v4"
|
- uses: "actions/setup-node@v4"
|
||||||
with:
|
with:
|
||||||
cache: "yarn"
|
cache: "yarn"
|
||||||
- uses: "JRubics/poetry-publish@v2.0"
|
- run: "pipx install poetry"
|
||||||
|
- uses: "actions/setup-python@v5"
|
||||||
with:
|
with:
|
||||||
python_version: "3.11"
|
python-version: "3.11"
|
||||||
pypi_token: "${{ secrets.PYPI_TOKEN }}"
|
cache: "poetry"
|
||||||
|
- run: "poetry install"
|
||||||
|
- run: "poetry publish --build"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user