From d32d75b93ec5ff9c8c051e4b0e5cb2ab3cd7ddab Mon Sep 17 00:00:00 2001 From: Zack Brady Date: Tue, 25 Jun 2024 22:43:31 -0400 Subject: [PATCH] fixed workflow errors/warnings --- .github/workflows/release.yaml | 12 +++++++----- .goreleaser.yaml | 2 ++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3df03697..f5e5ebca 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -26,8 +26,8 @@ jobs: uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser - version: latest - args: release --clean -p 1 + version: "~> v2" + args: "release --clean -p 1" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} @@ -35,6 +35,7 @@ jobs: container-release: name: Container Release Job runs-on: ubuntu-latest + needs: [go-release] timeout-minutes: 30 continue-on-error: true steps: @@ -67,6 +68,7 @@ jobs: chart-release: name: Chart Release Job runs-on: ubuntu-latest + needs: [go-release] timeout-minutes: 30 continue-on-error: true steps: @@ -75,6 +77,9 @@ jobs: with: fetch-depth: 0 + - name: Set Up Helm + uses: azure/setup-helm@v4 + - name: Authenticate to GitHub Container Registry uses: docker/login-action@v3 with: @@ -82,9 +87,6 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Set Up Helm - uses: azure/setup-helm@v4 - - name: Build Helm Chart run: | helm package deploy/kubernetes/helm/charts/hauler --destination deploy/kubernetes/helm/charts/hauler diff --git a/.goreleaser.yaml b/.goreleaser.yaml index e8736ce2..928d2562 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,3 +1,5 @@ +version: 2 + project_name: hauler before: hooks: