diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 7d0a6ff..0aa0967 100755 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -14,12 +14,12 @@ jobs: - name: Install Golang And Build run: - wget https://go.dev/dl/go1.22.5.linux-amd64.tar.gz - rm -rf /usr/local/go - tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gz - export PATH=$PATH:/usr/local/go/bin - go version - mkdir ./build - go mod tidy - go build -a -V -o ./build/ . + wget https://go.dev/dl/go1.22.5.linux-amd64.tar.gz \ + && rm -rf /usr/local/go && \ + && tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gz && \ + && export PATH=$PATH:/usr/local/go/bin && \ + && go version \ + && mkdir ./build \ + && go mod tidy \ + && go build -a -V -o ./build/ . \ No newline at end of file