-
Notifications
You must be signed in to change notification settings - Fork 16
47 lines (38 loc) · 1.06 KB
/
release.yml
File metadata and controls
47 lines (38 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Release
on:
push:
tags:
- "*.*.*"
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 8
- name: Build Release
run: mvn package appassembler:assemble assembly:single checksum:files -DskipTests
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
target/utPLSQL-cli.zip
target/utPLSQL-cli.zip.md5
slack-workflow-status:
if: always()
name: Post Workflow Status To Slack
needs: [ release ]
runs-on: ubuntu-latest
steps:
- name: Slack Workflow Notification
uses: Gamesight/slack-workflow-status@master
with:
repo_token: ${{secrets.GITHUB_TOKEN}}
slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL}}
name: 'Github Actions[bot]'
icon_url: 'https://octodex.github.com/images/mona-the-rivetertocat.png'