From 0b560a1abd3b0566ffdb515dd6d0ecb944301dd8 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 15 Nov 2024 07:17:09 -0800 Subject: [PATCH] Install dotnet _before_ we need it. --- .github/workflows/maestro-changelog.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: