Skip to content

Commit

Permalink
Set maven.compiler.target=17, maven.compiler.source=17 and fix publis…
Browse files Browse the repository at this point in the history
…h versions (#15)
  • Loading branch information
KirillKurdyukov authored Jan 10, 2024
1 parent 361a874 commit 0bb163b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-hibernate-dialect-v5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
if: endsWith(env.HIBERNATE_DIALECT_VERSION, 'SNAPSHOT')
uses: actions/github-script@v6
with:
script: core.setFailed('SNAPSHOT version can't be published')
script: core.setFailed('SNAPSHOT version can''t be published')

- name: Fail workflow if version is not equal to tag name
if: format('v{0}', env.HIBERNATE_DIALECT_VERSION) != github.ref_name
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-hibernate-dialect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
if: endsWith(env.HIBERNATE_DIALECT_VERSION, 'SNAPSHOT')
uses: actions/github-script@v6
with:
script: core.setFailed('SNAPSHOT version can't be published')
script: core.setFailed('SNAPSHOT version can''t be published')

- name: Fail workflow if version is not equal to tag name
if: format('v{0}', env.HIBERNATE_DIALECT_VERSION) != github.ref_name
Expand Down
3 changes: 3 additions & 0 deletions hibernate-dialect/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@

<maven.compiler.release>17</maven.compiler.release>

<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>

<hibernate.version>6.2.7.Final</hibernate.version>
<junit5.version>5.9.3</junit5.version>
<log4j2.version>2.17.2</log4j2.version>
Expand Down

0 comments on commit 0bb163b

Please sign in to comment.