Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit 134d550

Browse files
committed
update workflows
1 parent 08095e8 commit 134d550

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.github/workflows/Java_CI_with_Maven_and_Publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
permissions: write-all
2525
steps:
2626
- uses: actions/checkout@v4
27+
- uses: actions/cache@v2
28+
with:
29+
path: ~/.m2
30+
key: ${{ hashFiles('pom.xml') }}
2731
- name: Clone Github Repo Action
2832
# You may pin to the exact commit or the version.
2933
# uses: GuillaumeFalourd/clone-github-repo-action@19817562c346ff60f9935158dede6c5ece8fd0ac
@@ -82,7 +86,7 @@ jobs:
8286
tag_name: ${{github.github_sha}}
8387
name: ${{github.github_sha}}
8488
files: |
85-
.\target\DictSystemInJava-jdk${{ matrix.version }}.jar
89+
${{github.workspace}}/target/DictSystemInJava-jdk${{ matrix.version }}.jar
8690
make_latest: false
8791
draft: false
8892
prerelease: true

.github/workflows/maven.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
- 3800:3306
3232
steps:
3333
- uses: actions/checkout@v4
34+
- uses: actions/cache@v2
35+
with:
36+
path: ~/.m2
37+
key: ${{ hashFiles('pom.xml') }}
3438
- name: Clone Github Repo Action
3539
# You may pin to the exact commit or the version.
3640
# uses: GuillaumeFalourd/clone-github-repo-action@19817562c346ff60f9935158dede6c5ece8fd0ac

.github/workflows/maven_test_before_merging.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
- 3800:3306
3232
steps:
3333
- uses: actions/checkout@v4
34+
- uses: actions/cache@v2
35+
with:
36+
path: ~/.m2
37+
key: ${{ hashFiles('pom.xml') }}
3438
- name: Clone Github Repo Action
3539
# You may pin to the exact commit or the version.
3640
# uses: GuillaumeFalourd/clone-github-repo-action@19817562c346ff60f9935158dede6c5ece8fd0ac

0 commit comments

Comments
 (0)