Skip to content

Commit

Permalink
fix:在action里用的jdk版本修改为受支持的21
Browse files Browse the repository at this point in the history
  • Loading branch information
iammmmmmm committed Sep 14, 2024
1 parent 80c89da commit ae41756
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '23'
java-version: '21'

- name: Install libraries
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '23'
java-version: '21'

# Install extra required packaged on top of ubuntu-latest
- name: Install libraries
Expand All @@ -44,7 +44,7 @@ jobs:

# Upload the staging directory as a build artifact. You will be able to download this after the build finishes.
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Package
path: staging
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<javafx.maven.plugin.version>0.0.8</javafx.maven.plugin.version>
<javafx.version>24-ea+5</javafx.version>
<main.class>caidanci.HelloApplication</main.class>
<maven.compiler.release>23</maven.compiler.release>
<maven.compiler.release>21</maven.compiler.release>
<app.identifier>${main.class}</app.identifier>
<app.description>The CaiDanCi app</app.description>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down

0 comments on commit ae41756

Please sign in to comment.