diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 196df0f..222026a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,17 +7,16 @@ jobs: environment: build steps: - uses: actions/checkout@v4 - - run: | - echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV \ - wget -q https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz \ - sudo tar -xf go1.13.4.linux-amd64.tar.gz \ - sudo mv go /usr/local \ - echo "GOPATH=$HOME/go" >> $GITHUB_ENV \ - echo "GOROOT=/usr/local/go" >> $GITHUB_ENV \ - echo "PATH=$GOPATH/bin:$GOROOT/bin:$PATH" >> $GITHUB_ENV \ - mkdir -p $HOME/go/src \ - mkdir -p $HOME/go/bin \ - go get "github.com/gobuffalo/packr/v2/packr2" + - run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV + - run: wget -q https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz + - run: sudo tar -xf go1.13.4.linux-amd64.tar.gz + - run: sudo mv go /usr/local + - run: echo "GOPATH=$HOME/go" >> $GITHUB_ENV + - run: echo "GOROOT=/usr/local/go" >> $GITHUB_ENV + - run: echo "PATH=$GOPATH/bin:$GOROOT/bin:$PATH" >> $GITHUB_ENV + - run: mkdir -p $HOME/go/src + - run: mkdir -p $HOME/go/bin + - run: go get "github.com/gobuffalo/packr/v2/packr2" id: prepare_backend - uses: actions/setup-node@v4 with: