From a3e5c3d1759453d1191c17af18bcbfe915a53213 Mon Sep 17 00:00:00 2001 From: jqtmviyu Date: Thu, 25 Jul 2024 04:12:35 +0800 Subject: [PATCH] ci: :construction_worker: test proxy --- .gitea/workflows/demo.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 9fbd645..af8026b 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -5,8 +5,18 @@ on: [push] jobs: Explore-Gitea-Actions: runs-on: ubuntu-latest-slim + env: + http_proxy: http://172.17.0.1:7890 + https_proxy: http://172.17.0.1:7890 steps: - 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 }}." + - name: Check out repository code + uses: actions/checkout@v4 + - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ gitea.workspace }} - run: echo "🍏 This job's status is ${{ job.status }}."