Skip to content

Commit

Permalink
ci: Auto deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanzhi33 committed Jul 13, 2024
1 parent 93ebe18 commit ac72838
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/springboot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up JDK 22
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '22'
java-version: '21'
distribution: 'adopt'

- name: Build with Maven
Expand All @@ -30,3 +30,7 @@ jobs:
files: |
server/java/carproject-server/target/carproject-server-*.jar
tag_name: v0.0.1-SNAPSHOT

- name: Sync
run: |
curl "https://s.x-33.top/daemonjar/update?token=${{ secrets.update_token }}"
2 changes: 1 addition & 1 deletion server/java/carproject-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<url/>
</scm>
<properties>
<java.version>22</java.version>
<java.version>21</java.version>
</properties>
<dependencies>
<dependency>
Expand Down

0 comments on commit ac72838

Please sign in to comment.