Skip to content

Commit 408df42

Browse files
Update actions and fix fetch depth
1 parent 6807d96 commit 408df42

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ jobs:
66
test:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v3
10-
- uses: actions/setup-java@v3
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-java@v4
1111
with:
1212
java-version: '8'
1313
distribution: 'adopt'

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v3
11+
with:
12+
fetch-depth: 0
1113
- name: Get tag
1214
id: tag
1315
run: echo "version=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_OUTPUT
14-
- uses: actions/setup-java@v3
16+
- uses: actions/setup-java@v4
1517
with:
1618
java-version: '8'
1719
distribution: 'adopt'

0 commit comments

Comments
 (0)