Skip to content

Commit ef92a12

Browse files
committed
Update github actions settings
1 parent f8b4d1c commit ef92a12

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
name: Scala CI
2-
1+
name: CI
32
on:
43
push:
54
branches: [ main ]

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
name: Release
22
on:
3+
workflow_run:
4+
workflows: ["CI"]
5+
types: [completed]
36
push:
47
branches: [master, main]
58
tags: ["*"]
69
jobs:
710
publish:
811
runs-on: ubuntu-20.04
12+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
913
steps:
1014
- uses: actions/checkout@v2.3.4
1115
with:

0 commit comments

Comments
 (0)