diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 84f7e65..317167c 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -18,7 +18,6 @@ jobs: - "/etc/timezone:/etc/timezone:ro" - "/etc/localtime:/etc/localtime:ro" - "/etc/gitconfig:/etc/gitconfig:ro" - - "/${{ env.SSH_AUTH_SOCK }}:/tmp/ssh.sock" - "/opt/gitea/act_runner/.ssh/known_hosts:/root/.ssh/known_hosts" - "/opt/gitea/act_runner/.gitconfig:/root/.gitconfig:ro" - "/opt/gitea/act_runner/.git-credentials:/root/.git-credentials:ro" @@ -67,7 +66,6 @@ jobs: - "/etc/timezone:/etc/timezone:ro" - "/etc/localtime:/etc/localtime:ro" - "/etc/gitconfig:/etc/gitconfig:ro" - - "/${{ env.SSH_AUTH_SOCK }}:/tmp/ssh.sock" - "/opt/gitea/act_runner/.ssh/known_hosts:/root/.ssh/known_hosts" - "/opt/gitea/act_runner/.gitconfig:/root/.gitconfig:ro" - "/opt/gitea/act_runner/.git-credentials:/root/.git-credentials:ro" @@ -107,20 +105,20 @@ jobs: TZ: America/Los_Angeles volumes: - "/etc/gitconfig:/etc/gitconfig:ro" - - "/${{ env.SSH_AUTH_SOCK }}:/tmp/ssh.sock" - "/opt/gitea/act_runner/.ssh/known_hosts:/root/.ssh/known_hosts" - "/opt/gitea/act_runner/.gitconfig:/root/.gitconfig:ro" - "/opt/gitea/act_runner/.git-credentials:/root/.git-credentials:ro" options: --cpus 4 steps: - - run: apt-get -y update && apt-get install -y tzdata - - run: apt-get install -y nodejs git make - - uses: actions/checkout@v3 - - run: make ubuntu-deps - - run: make build - - run: make deb - - uses: actions/upload-artifact@v3 - with: - name: "ubuntu/focal/jx" - path: "jx" - + - run: apt-get -y update && apt-get install -y tzdata + - run: apt-get install -y nodejs git make + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - run: make ubuntu-deps + - run: make build + - run: make deb + - uses: actions/upload-artifact@v3 + with: + name: "ubuntu/focal/jx" + path: "jx"