From 1aada98b921778d3ce58c57fa9015ed7e3bd4624 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Sat, 17 May 2025 14:28:13 -0300 Subject: [PATCH] Use GITEA_PATH instead of GITHUB_PATH - 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. --- .gitea/workflows/ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 34cccfe..0cb360c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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