Use GITEA_PATH instead of GITHUB_PATH
- 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:
parent
201690881e
commit
07b2296500
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user