Skip to content

Commit 8962664

Browse files
committed
build: Enable release
1 parent 7fc5b19 commit 8962664

1 file changed

Lines changed: 30 additions & 28 deletions

File tree

.github/workflows/commit.yaml

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -29,31 +29,33 @@ jobs:
2929
main-branch: master
3030
service-account-key: ${{ secrets.SECRET_AUTH }}
3131

32-
# release:
33-
# if: github.ref == 'refs/heads/master'
34-
# runs-on: ubuntu-latest
35-
# needs:
36-
# - test
37-
# steps:
38-
# - uses: actions/checkout@v6
39-
# with:
40-
# fetch-depth: 0
41-
#
42-
# - uses: actions/setup-java@v5
43-
# with:
44-
# distribution: 'temurin'
45-
# java-version-file: .java-version
46-
# cache: 'maven'
47-
#
48-
# - name: Create release
49-
# uses: extenda/actions/conventional-release@v0
50-
# id: release
51-
# env:
52-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53-
#
54-
# - name: Build release
55-
# uses: extenda/actions/maven@v0
56-
# with:
57-
# args: deploy -DskipTests
58-
# version: ${{ steps.release.outputs.version }}
59-
# service-account-key: ${{ secrets.SECRET_AUTH }}
32+
release:
33+
if: github.ref == 'refs/heads/master'
34+
runs-on: ubuntu-latest
35+
needs:
36+
- test
37+
steps:
38+
- uses: actions/checkout@v6
39+
with:
40+
fetch-depth: 0
41+
42+
- uses: actions/setup-java@v5
43+
with:
44+
distribution: 'temurin'
45+
java-version-file: .java-version
46+
cache: 'maven'
47+
48+
- name: Create release
49+
uses: extenda/actions/conventional-release@v0
50+
id: release
51+
with:
52+
name: openapi-httpserver-java
53+
env:
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
56+
- name: Build release
57+
uses: extenda/actions/maven@v0
58+
with:
59+
args: deploy -DskipTests
60+
version: ${{ steps.release.outputs.version }}
61+
service-account-key: ${{ secrets.SECRET_AUTH }}

0 commit comments

Comments
 (0)