diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index c6d63ec..fa37cc2 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -10,29 +10,27 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: 3.x + cache: 'pip' + - run: pip install mkdocs-material==9.5.25 + - name: Set up JDK 11 - uses: actions/setup-java@v3.11.0 + uses: actions/setup-java@v4 with: java-version: '11' distribution: 'adopt' + cache: 'gradle' + - name: Setup Dependencies run: | sudo apt update sudo apt install graphviz sudo snap install yq - - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV - - uses: actions/cache@v3 - with: - key: mkdocs-material-${{ env.cache_id }} - path: .cache - restore-keys: | - mkdocs-material- - - run: pip install mkdocs-material + - name: Deploy site run: | ./gradlew doSite