Skip to content

Commit

Permalink
fix(ci): Install docfx
Browse files Browse the repository at this point in the history
  • Loading branch information
BradleyChatha committed Jul 31, 2024
1 parent af6a8b7 commit db4a01b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand All @@ -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
Expand Down

0 comments on commit db4a01b

Please sign in to comment.