Skip to content

Commit

Permalink
fix: Add JRE 18 to publish-example-site job
Browse files Browse the repository at this point in the history
This should fix the `UnsupportedClassVersionError` which occurred when
generating the example site in the release workflow.
  • Loading branch information
dirkgroot committed Oct 21, 2022
1 parent eef6387 commit 576568e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 18

- name: Download binaries
uses: actions/download-artifact@v3
Expand All @@ -159,7 +163,7 @@ jobs:
build/install/structurizr-site-generatr/bin/structurizr-site-generatr generate-site
--git-url https://github.com/avisi-cloud/structurizr-site-generatr.git
--workspace-file docs/example/workspace.dsl
--branches main
--branches main
--default-branch main
--version ${{ github.ref_name }}
Expand Down

0 comments on commit 576568e

Please sign in to comment.