diff --git a/.github/workflows/maestro-changelog.yml b/.github/workflows/maestro-changelog.yml index 92f9391baf8..d024a42a08c 100644 --- a/.github/workflows/maestro-changelog.yml +++ b/.github/workflows/maestro-changelog.yml @@ -14,6 +14,10 @@ jobs: contents: read steps: + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: '9' + - name: 'Compute changelog' run: | set -exo pipefail @@ -21,10 +25,6 @@ jobs: cd dotnet-tools/changelog dotnet run https://github.com/$GITHUB_REPOSITORY/pull/${GITHUB_REF_NAME/\/*/} > /tmp/changelog.txt 2>&1 - - uses: actions/setup-dotnet@v4 - with: - dotnet-version: '9' - - name: 'Add changelog' uses: actions/github-script@v7.0.1 with: