Skip to content

Commit 9f55767

Browse files
authored
Update ci.yml
1 parent 8ccdec0 commit 9f55767

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ name: Development CI
22

33
on: [push]
44

5-
jobs:
6-
build:
5+
jobs:
6+
build-and-oss-deploy:
77
runs-on: ubuntu-16.04
8-
98
steps:
109
- uses: actions/checkout@v2
1110
- name: Set up JDK 1.6
@@ -45,3 +44,8 @@ jobs:
4544
MAVEN_USERNAME: ${{secrets.MAVEN_USERNAME}}
4645
MAVEN_PASSWORD: ${{secrets.MAVEN_PASSWORD}}
4746
DWR_VERSION: ${{steps.read_dwr_major.outputs.value}}.${{steps.read_dwr_minor.outputs.value}}.${{steps.read_dwr_revision.outputs.value}}
47+
deploy-release:
48+
if: contains(github.ref, "release")
49+
runs-on: ubuntu-16.04
50+
steps:
51+
- run: echo "I only run if the branch has release in its name!"

0 commit comments

Comments
 (0)