Skip to content

Commit 775f9c7

Browse files
author
rathnapandi
committed
Cleanup pipeline
1 parent 9ab928a commit 775f9c7

File tree

2 files changed

+1
-33
lines changed

2 files changed

+1
-33
lines changed

.github/workflows/openapi.validator-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: OpenAPI-Validator
1+
name: Release
22
on:
33
workflow_dispatch:
44
inputs:

.github/workflows/openapi.validator.yaml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,3 @@ jobs:
2222
- name: Run tests
2323
run: |
2424
mvn clean verify
25-
release:
26-
if: github.event.release.tag_name
27-
name: Release OpenAPI Validator
28-
runs-on: ubuntu-latest
29-
needs: tests
30-
steps:
31-
- uses: actions/checkout@v6
32-
with:
33-
ref: main
34-
- name: Set up JDK 11
35-
uses: actions/setup-java@v5
36-
with:
37-
distribution: 'zulu' # See 'Supported distributions' for available options
38-
java-version: 11
39-
- name: Configure Git user
40-
run: |
41-
git config user.email "actions@github.com"
42-
git config user.name "GitHub Actions"
43-
- name: Release prepare
44-
run: |
45-
git status
46-
mvn -B release:prepare
47-
env:
48-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49-
- name: List current directory
50-
run: |
51-
ls -la
52-
- name: Release perform
53-
run: |
54-
mvn -B release:perform -Darguments="-Dmaven.deploy.skip=true"
55-
env:
56-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)