remove cache step from coverage in hopes that might fix the failure #91
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # GitHub Actions workflow to build and publish static demo to GitHub Pages | |
| name: Build and Deploy Demo to GitHub Pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| # Use minimal permissions needed: Pages write + id-token for deploy, contents read for checkout | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| jobs: | |
| build_and_deploy: | |
| runs-on: macos-latest | |
| outputs: | |
| artifact-path: gh-pages | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: ./.github/actions/rust-build | |
| with: | |
| bin-name: shuthost_coordinator | |
| - name: Build and snapshot demo | |
| run: ./scripts/build-gh-pages.sh | |
| - name: Upload Pages artifact | |
| uses: actions/upload-pages-artifact@v4 | |
| with: | |
| path: ./gh-pages | |
| - name: Deploy to GitHub Pages | |
| uses: actions/deploy-pages@v4 |