From 5c6f0ee8ab5642c33ad62b4cc76b32891cd392f4 Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 9 Apr 2024 14:46:29 +0200 Subject: [PATCH] fix: Move dep install to before workaround for git-tag in workflow --- .github/workflows/build-and-publish.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index acc02da..315e63a 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -23,7 +23,7 @@ jobs: fetch-depth: 0 - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -63,8 +63,12 @@ jobs: container: quay.io/git-chglog/git-chglog:0.15.4 steps: + - name: Install main dependencies + run: | + apk add bash nodejs + # https://github.com/git-chglog/git-chglog/issues/23#issuecomment-1716941412 - - name: Generate charts changelog files + - name: Workaround for git-chglog and git-tag shell: bash run: | git config --global --add safe.directory "$GITHUB_WORKSPACE" @@ -74,10 +78,6 @@ jobs: with: fetch-depth: 0 - - name: Install main dependencies - run: | - apk add bash nodejs - - name: Generate charts changelog files shell: bash run: |