Skip to content

Commit ea9cd36

Browse files
committed
Configured release plugin
1 parent a0ced5b commit ea9cd36

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Build and test
22
on:
33
push:
4-
branches: [ develop, feature/github_actions ]
5-
tags:
6-
- v*
4+
branches: [ * ]
5+
76
pull_request:
87
branches: [ develop ]
8+
99
workflow_dispatch:
1010

1111
repository_dispatch:

.github/workflows/release.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
name: Release
2+
23
on:
34
push:
4-
branches: [ main ]
55
tags:
6-
- v*
6+
- "v*.*.*"
77

88
workflow_dispatch:
99

1010
jobs:
11-
build:
11+
12+
release:
1213

1314
runs-on: ubuntu-latest
1415

@@ -23,7 +24,13 @@ jobs:
2324
cache: 'maven'
2425

2526
- name: Build Release
26-
run: mvn package appassembler:assemble assembly:single -DskipTests
27+
run: mvn package appassembler:assemble assembly:single -DskipTests
28+
29+
- name: Release
30+
uses: softprops/action-gh-release@v1
31+
with:
32+
files: |
33+
target/utPLSQL-cli.zip
2734
2835
slack-workflow-status:
2936
if: always()

0 commit comments

Comments
 (0)