From 0a8c239602f76fc8850ba87d15f2aa4b08ac9fce Mon Sep 17 00:00:00 2001 From: Muhammad Hamza Date: Sat, 26 Aug 2023 17:40:58 +0500 Subject: [PATCH] Pass absolute path of CHANGELOG.md to the binary --- .github/workflows/inspect-next-changelogs.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/inspect-next-changelogs.yml b/.github/workflows/inspect-next-changelogs.yml index 5ed81d5a0b9..29d8c1da2b8 100644 --- a/.github/workflows/inspect-next-changelogs.yml +++ b/.github/workflows/inspect-next-changelogs.yml @@ -25,10 +25,13 @@ jobs: run: cargo build --release -p changelog -- - name: Read yew changelog in this step - run: ./target/release/changelog yew minor -t ${{ secrets.GITHUB_TOKEN }} + shell: bash + run: ./target/release/changelog yew minor -t ${{ secrets.GITHUB_TOKEN }} -f "$(pwd)/CHANGELOG.md" - name: Read yew-router changelog in this step - run: ./target/release/changelog yew-router minor -t ${{ secrets.GITHUB_TOKEN }} + shell: bash + run: ./target/release/changelog yew-router minor -t ${{ secrets.GITHUB_TOKEN }} -f "$(pwd)/CHANGELOG.md" - name: Read yew-agent changelog in this step - run: ./target/release/changelog yew-agent minor -t ${{ secrets.GITHUB_TOKEN }} + shell: bash + run: ./target/release/changelog yew-agent minor -t ${{ secrets.GITHUB_TOKEN }} -f "$(pwd)/CHANGELOG.md"