add proxy settings
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
luo980 2025-02-18 03:19:38 +08:00
parent 6159f6a487
commit 95a161ad42

View File

@ -9,6 +9,10 @@ jobs:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- run: export http_proxy=http://172.130.0.24:7890
- run: export https_proxy=http://172.130.0.24:7890
- run: git config --global http.proxy http://172.130.0.24:7890
- run: git config --global https.proxy http://172.130.0.24:7890
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."