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