From 03596716ff7d0ad58ec3f949396b179f77729f2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jev=20Bj=C3=B6rsell?= Date: Wed, 29 Jun 2022 19:11:25 -0700 Subject: [PATCH] chore: reorder steps --- .github/workflows/build.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4cd9e16f..af14d491 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -65,6 +65,10 @@ jobs: restore-keys: | ${{ runner.os }}-go- + - name: setup release environment + run: |- + echo 'GITHUB_TOKEN=${{secrets.GH_PAT}}' > .release-env + - name: Docker Login to ghcr.io uses: docker/login-action@v1 with: @@ -72,8 +76,6 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GH_PAT }} - - name: setup release environment - run: |- - echo 'GITHUB_TOKEN=${{secrets.GH_PAT}}' > .release-env - name: Run GoReleaser run: make release +