@@ -25,10 +25,10 @@ jobs:
2525
2626 steps :
2727 - name : Check out git repository
28- uses : actions/checkout@v2
28+ uses : actions/checkout@main
2929
3030 - name : Install JRE
31- uses : actions/setup-java@v2
31+ uses : actions/setup-java@main
3232 with :
3333 java-version : ' 17'
3434 distribution : ' temurin'
@@ -60,14 +60,14 @@ jobs:
6060 JAVA_HOME : ${{ runner.os == 'Windows' && env.JAVA_HOME }} || $JAVA_HOME
6161
6262 - name : Install Node.js
63- uses : actions/setup-node@v2
63+ uses : actions/setup-node@main
6464 with :
6565 node-version : ' 16'
6666 cache : " yarn"
6767 cache-dependency-path : chat2db-client/yarn.lock
6868
6969 - name : Install Java and Maven
70- uses : actions/setup-java@v2
70+ uses : actions/setup-java@main
7171 with :
7272 java-version : ' 17'
7373 distribution : ' temurin'
8484 mkdir -p versions/99.0.${{ github.run_id }}/static
8585 echo "99.0.${{ github.run_id }}" > versions/version
8686 cp -r versions/version ./versions/
87- cp chat2db-server/chat2db-server-start/target/chat2db-server-start.jar versions/99.0.${{ github.run_id }}/static/
87+ cp chat2db-server/chat2db-server-start/target/chat2db-server-start.jar chat2db-client/ versions/99.0.${{ github.run_id }}/static/
8888
8989 - name : Prepare Build Electron
9090 run : |
@@ -113,7 +113,7 @@ jobs:
113113 xcrun notarytool store-credentials "Chat2DB" --apple-id "${{ secrets.MAC_APPLE_ID }}" --password "${{ secrets.MAC_APPLE_PASSWORD }}" --team-id "${{ secrets.MAC_TEAM_ID }}"
114114 xcrun notarytool submit chat2db-client/release/Chat2DB-Test-99.0.${{ github.run_id }}-Test.dmg --keychain-profile "Chat2DB"
115115
116- # Jar包
116+ # Build Jar包
117117 - name : Prepare upload for Jar
118118 if : ${{ runner.os == 'macOS' && matrix.arch == 'x86_64' }}
119119 run : |
0 commit comments