Skip to content

Commit

Permalink
chore: Update usages of mdoc to run Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik committed Dec 15, 2023
1 parent 3cd8ca7 commit 7f39820
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
java-version: 11
cache: sbt
- run: sbt scalafixCheckAll
- run: sbt docs/docusaurusCreateSite
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/release-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release website
on:
push:
branches: [main]
tags: ["*"]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
cache: sbt
- run: git fetch --unshallow
- name: Publish website for ${{ github.ref }}
run: |
sbt docs/docusaurusPublishGhpages
env:
GIT_USER: [email protected]
GITHUB_DEPLOY_KEY: ${{ secrets.GITHUB_DEPLOY_KEY }}
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
- name: Publish ${{ github.ref }}
run: |
sbt ci-release
sbt docs/docusaurusPublishGhpages
env:
GIT_USER: [email protected]
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
Expand Down

0 comments on commit 7f39820

Please sign in to comment.