diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 569b0f1..c3d76f3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,7 +56,7 @@ jobs: update_demo_repo: name: Update Docfx Demo Repo runs-on: ubuntu-latest - needs: build_marmos + needs: build_and_release_npm steps: - uses: actions/checkout@v4 - uses: ./.github/actions/download-marmos @@ -66,6 +66,10 @@ jobs: with: node-version: 20 + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: "7" + - uses: actions/checkout@v4 with: repository: 'juptune/marmos-docfx-demo' @@ -77,6 +81,7 @@ jobs: run: | TAG=$(echo "${{ github.event.release.tag_name }}" | sed 's/v//') # Remove the 'v' prefix npx --yes marmos-docfx@${TAG} # Install the new version of marmos-docfx + dotnet tool update -g docfx bash update.sh $GITHUB_WORKSPACE/marmos - name: Commit and push changes