ci: update

This commit is contained in:
2026-01-03 16:46:41 +08:00
parent 8763a255b2
commit 37f3f84575

View File

@@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-ci
container:
volumes:
# - /var/run/docker.sock:/var/run/docker.sock
- data:/var/data
- deploy:/var/deploy
steps:
- run: echo "PATH=/var/data/zApps/go/bin:$PATH" >> $GITHUB_ENV
- 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 }}."
@@ -23,14 +23,7 @@ jobs:
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- name: Set up Go environment and check PATH
- name: Check go version
run: |
export PATH=/var/data/zApps/go/bin:$PATH
echo $PATH
ls /var/data/zApps/go/bin
go version
- name: check Go version
run: go version
# - name: check Docker version
# run: docker --version
- run: echo "🍏 This job's status is ${{ job.status }}."