Skip to content

Commit

Permalink
update versions of actions
Browse files Browse the repository at this point in the history
remove explicit cache
  • Loading branch information
pahjbo committed May 30, 2024
1 parent 9c2ebce commit 9c24107
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9c24107

Please sign in to comment.