Skip to content

Commit be68f40

Browse files
committed
ci: fix publish-adr job
1 parent ffcb15d commit be68f40

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/on-release-tag.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ jobs:
5555
experimental: true # best effort mode
5656

5757
publish-adr:
58-
needs: e2e-tests
58+
needs:
59+
- get-log4brains-version
60+
- e2e-tests
5961
runs-on: ubuntu-latest
6062
steps:
6163
- uses: actions/checkout@v4
@@ -68,7 +70,7 @@ jobs:
6870
node-version-file: .nvmrc # current LTS
6971
- name: Install and Build Log4brains
7072
run: |
71-
npm install -g log4brains
73+
npm install -g log4brains@${{ needs.get-log4brains-version.outputs.version }}
7274
log4brains build --basePath /${GITHUB_REPOSITORY#*/}/adr
7375
- name: Publish to Github pages
7476
uses: JamesIves/github-pages-deploy-action@3.7.1

0 commit comments

Comments
 (0)