Fix inspect-next-changelogs workflows (#3383)

* Fix inspect-next-changelogs workflows

* Pass absolute path of CHANGELOG.md to the binary
This commit is contained in:
Muhammad Hamza 2023-09-02 14:56:02 +05:00 committed by GitHub
parent 6b9d1964eb
commit 4038a9794b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,17 +22,16 @@ jobs:
toolchain: stable
- name: Build changelog generator
run: cargo build --release -p changelog
working-directory: tools
run: cargo build --release -p changelog --
- name: Read yew changelog in this step
run: ./target/release/changelog yew minor -t ${{ secrets.GITHUB_TOKEN }}
working-directory: tools
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 }}
working-directory: tools
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 }}
working-directory: tools
shell: bash
run: ./target/release/changelog yew-agent minor -t ${{ secrets.GITHUB_TOKEN }} -f "$(pwd)/CHANGELOG.md"