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