diff --git a/.github/workflows/maestro-changelog.yml b/.github/workflows/maestro-changelog.yml index f098f014838c..cacbd9c9551f 100644 --- a/.github/workflows/maestro-changelog.yml +++ b/.github/workflows/maestro-changelog.yml @@ -15,12 +15,17 @@ jobs: if: github.actor == 'dotnet-maestro[bot]' steps: + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: '9' + - name: 'Compute changelog' run: | set -exo pipefail git clone https://github.com/spouliot/dotnet-tools cd dotnet-tools/changelog - dotnet run https://github.com/$GITHUB_REPOSITORY/pull/${GITHUB_REF_NAME/\/*/} > /tmp/changelog.txt 2>&1 + dotnet build + ./bin/Debug/net9.0/changelog https://github.com/$GITHUB_REPOSITORY/pull/${GITHUB_REF_NAME/\/*/} > /tmp/changelog.txt 2>&1 - name: 'Add changelog' uses: actions/github-script@v7.0.1