Use GITEA_PATH instead of GITHUB_PATH
All checks were successful
CI / lint (push) Successful in 15s
CI / test (push) Successful in 8s
CI / deploy (push) Successful in 35s

- Corrected the environment variable from GITHUB_PATH to GITEA_PATH.
- This ensures the CI workflow functions correctly within a Gitea environment.
- The change is applied in both the test and deploy jobs.
This commit is contained in:
Roger Gonzalez 2025-05-17 14:26:56 -03:00
parent 201690881e
commit 07b2296500
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6

View File

@ -15,7 +15,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 Ruff & Mypy
run: |
@ -34,7 +34,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,7 +48,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/master'
if: gitea.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v3