diff --git a/.github/workflows/runpod-monit.yml b/.github/workflows/runpod-monit.yml index 641a020..0e21bc1 100644 --- a/.github/workflows/runpod-monit.yml +++ b/.github/workflows/runpod-monit.yml @@ -18,12 +18,11 @@ jobs: - uses: extractions/setup-just@v2 with: just-version: 1.36.0 - - name: Setup Python - uses: actions/setup-python@v5 + - name: Setup Python via uv + uses: astral-sh/setup-uv@v3 with: - python-version: '3.11' - cache: pip - cache-dependency-path: yard-rs/runpod-xp/requirements-runpod.txt + version: "0.4.27" + enable-cache: true - name: Monit run: | cd yard-rs/runpod-xp @@ -32,4 +31,4 @@ jobs: env: RUNPOD_API_KEY: ${{ secrets.RUNPOD_API_KEY }} DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} - GH_TOKEN: ${{ github.token }} \ No newline at end of file + GH_TOKEN: ${{ github.token }} diff --git a/yard-rs/runpod-xp/scripts/rust.sh b/yard-rs/runpod-xp/scripts/rust.sh index 9d4de5c..87f28ac 100644 --- a/yard-rs/runpod-xp/scripts/rust.sh +++ b/yard-rs/runpod-xp/scripts/rust.sh @@ -30,7 +30,12 @@ else (cd native-land && git pull) fi -exec >> /content/rust.log 2>&1 +LOGFILE=/content/rust.log + +echo "Redirecting output to $LOGFILE" +echo "To inspect, run: tail -f $LOGFILE" + +exec >> $LOGFILE 2>&1 cd native-land just prep-linux