From 5389cce35011755aaf694605b2c9f7d479805b34 Mon Sep 17 00:00:00 2001 From: Marcin Maciaszczyk Date: Fri, 23 Jun 2023 13:18:32 +0200 Subject: [PATCH] Retry --- .github/workflows/cd.yml | 5 +++-- .github/workflows/ci-api.yml | 6 ++++++ .github/workflows/ci.yml | 5 +++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e3070b2ff89e..8b2bdd63eb5f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -23,8 +23,6 @@ permissions: contents: read packages: write env: - GOPATH: /home/runner/go/ - GOPROXY: https://proxy.golang.org NG_CLI_ANALYTICS: ci NODE_OPTIONS: "--max-old-space-size=8192" TERM: xterm @@ -45,6 +43,9 @@ jobs: check-latest: true cache-dependency-path: modules/api/go.sum + - name: Add Go to PATH + run: export PATH=$PATH:$GOPATH/bin + - name: Install API dependencies working-directory: modules/api run: go mod download diff --git a/.github/workflows/ci-api.yml b/.github/workflows/ci-api.yml index d14c789523ae..9782d072c0f9 100644 --- a/.github/workflows/ci-api.yml +++ b/.github/workflows/ci-api.yml @@ -48,6 +48,9 @@ jobs: check-latest: true cache-dependency-path: modules/api/go.sum + - name: Add Go to PATH + run: export PATH=$PATH:$GOPATH/bin + - name: Install API dependencies working-directory: modules/api run: go mod download @@ -83,6 +86,9 @@ jobs: check-latest: true cache-dependency-path: modules/api/go.sum + - name: Add Go to PATH + run: export PATH=$PATH:$GOPATH/bin + - name: Install API dependencies working-directory: modules/api run: go mod download diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 501006bbf567..17282840d399 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,8 +27,6 @@ on: permissions: contents: read env: - GOPATH: /home/runner/go/ - GOPROXY: https://proxy.golang.org NG_CLI_ANALYTICS: ci NODE_OPTIONS: "--max-old-space-size=8192" TERM: xterm @@ -109,6 +107,9 @@ jobs: check-latest: true cache-dependency-path: modules/api/go.sum + - name: Add Go to PATH + run: export PATH=$PATH:$GOPATH/bin + - name: Install API dependencies working-directory: modules/api run: go mod download