Use GITEA_PATH instead of GITHUB_PATH
Some checks failed
CI + Deploy / lint (push) Successful in 7s
CI + Deploy / test (push) Successful in 11s
CI + Deploy / deploy_to_pypi (push) Failing after 5s
CI + Deploy / deploy_to_dockerhub (push) Has been skipped
CI + Deploy / deploy_to_gitea (push) Has been skipped

- Replaced `GITHUB_PATH` with `GITEA_PATH` in CI workflows.
- This corrects the environment variable used for adding Cargo binaries.
- Ensures correct execution within the Gitea Actions environment.
This commit is contained in:
Roger Gonzalez 2025-05-17 14:28:13 -03:00
parent ad437ce752
commit 1aada98b92
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6

View File

@ -15,8 +15,7 @@ jobs:
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
uv pip install --system ruff
echo "$HOME/.cargo/bin" >> $GITEA_PATH
- name: Run Ruff
run: |
@ -34,7 +33,7 @@ jobs:
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
echo "$HOME/.cargo/bin" >> $GITEA_PATH
- name: Run Tests
run: |
@ -48,14 +47,14 @@ jobs:
deploy_to_pypi:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/master'
if: gitea.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v3
- name: Install uv + build tools
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
echo "$HOME/.cargo/bin" >> $GITEA_PATH
uv pip install --system build twine
- name: Publish to PyPI
@ -71,7 +70,7 @@ jobs:
deploy_to_dockerhub:
runs-on: ubuntu-latest
needs: [deploy_to_pypi]
if: github.ref == 'refs/heads/master'
if: gitea.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v3
@ -90,7 +89,7 @@ jobs:
deploy_to_gitea:
runs-on: ubuntu-latest
needs: [deploy_to_pypi]
if: github.ref == 'refs/heads/master'
if: gitea.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v3