Skip to content

Commit f4ce186

Browse files
committed
feat: remove build stage in Release as it's a duplicate
1 parent 8da034c commit f4ce186

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,8 @@ on:
66
- main
77

88
jobs:
9-
build:
10-
runs-on: ubuntu-latest
11-
12-
steps:
13-
- uses: actions/checkout@v2
14-
- name: Set up JDK 11
15-
uses: actions/setup-java@v2
16-
with:
17-
java-version: "11"
18-
distribution: "adopt"
19-
- run: gradle build
20-
- run: gradle test
21-
229
release:
2310
runs-on: ubuntu-latest
24-
needs:
25-
- build
2611
outputs:
2712
# Whether a new release was published (true or false)
2813
new_release_published: ${{ steps.semantic.outputs.new_release_published }}
@@ -46,7 +31,7 @@ jobs:
4631
with:
4732
java-version: "11"
4833
distribution: "adopt"
49-
- run: gradle build
34+
- run: gradle build test
5035
- uses: cycjimmy/semantic-release-action@v2
5136
id: semantic
5237
with:

0 commit comments

Comments
 (0)