fix: Move dep install to before workaround for git-tag in workflow

This commit is contained in:
Tommy 2024-04-09 14:46:29 +02:00
parent ec6c4658f6
commit 5c6f0ee8ab
No known key found for this signature in database

View file

@ -23,7 +23,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Login to GitHub Container Registry - name: Login to GitHub Container Registry
uses: docker/login-action@v1 uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}
@ -63,8 +63,12 @@ jobs:
container: quay.io/git-chglog/git-chglog:0.15.4 container: quay.io/git-chglog/git-chglog:0.15.4
steps: steps:
- name: Install main dependencies
run: |
apk add bash nodejs
# https://github.com/git-chglog/git-chglog/issues/23#issuecomment-1716941412 # 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 shell: bash
run: | run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE" git config --global --add safe.directory "$GITHUB_WORKSPACE"
@ -74,10 +78,6 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Install main dependencies
run: |
apk add bash nodejs
- name: Generate charts changelog files - name: Generate charts changelog files
shell: bash shell: bash
run: | run: |