Skip to content

Commit

Permalink
feat(java-version): fix java version to 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
dislazy committed Sep 17, 2021
1 parent af4da5b commit 83215d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install Java and Maven
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 1.8

- name: Release Maven package
uses: samuelmeuli/action-maven-publish@v1
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<url>https://github.com/dislazy/alidaodao-app-redis</url>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<jedis-version>3.7.0</jedis-version>
Expand Down Expand Up @@ -91,8 +91,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>11</source>
<target>11</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 83215d7

Please sign in to comment.