Skip to content

Commit bd364ff

Browse files
committed
release: v0.2.0
1 parent dc53a87 commit bd364ff

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/publish-release.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,26 @@ jobs:
2121
steps:
2222
# 检出仓库代码
2323
- name: Check out repo
24-
uses: actions/checkout@v2
25-
with:
26-
# release workflow should have access to all tags
27-
fetch-depth: 0
24+
uses: actions/checkout@v3
2825

2926
# Setup java
3027
# https://github.com/marketplace/actions/setup-java-jdk
3128
- name: Setup Java 11
32-
uses: actions/setup-java@v2
29+
uses: actions/setup-java@v3
3330
with:
34-
distribution: 'temurin'
35-
java-version: '11'
31+
distribution: 'zulu'
32+
java-version: 11
3633

3734
- name: Test
3835
uses: gradle/gradle-build-action@v2
3936
with:
40-
gradle-version: 7.5.1
37+
gradle-version: 7.6
4138
arguments: assemble allTests --info --warning-mode all
4239

4340
- name: Publish to sonatype
4441
uses: gradle/gradle-build-action@v2
4542
with:
46-
gradle-version: 7.5.1
43+
gradle-version: 7.6
4744
arguments: |
4845
build
4946
publishToSonatype
@@ -73,7 +70,7 @@ jobs:
7370

7471
# Create gitHub release
7572
- name: Create Github Release
76-
uses: softprops/action-gh-release@v0.1.14
73+
uses: softprops/action-gh-release@v1
7774
with:
7875
token: ${{ secrets.FORTE_TOKEN }}
7976
# body_path: .changelog/${{ github.ref_name }}.md

0 commit comments

Comments
 (0)