Skip to content

Commit 5a69b39

Browse files
committed
Update workflow
1 parent d1daa20 commit 5a69b39

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
name: Release
22
on:
3-
# workflow_run:
4-
# workflows: ["CI"]
5-
# types: [completed]
3+
workflow_run:
4+
workflows: ["CI"]
5+
types: [completed]
66
push:
77
branches: [main]
88
tags: ["*"]
99
jobs:
1010
publish:
1111
runs-on: ubuntu-20.04
12-
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
12+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1313
steps:
1414
- uses: actions/[email protected]
1515
with:
16-
fetch-depth: 0
16+
ref: ${{ github.event.workflow_run.head_branch }}
1717
- uses: olafurpg/setup-scala@v10
1818
- uses: olafurpg/setup-gpg@v3
1919
- run: |

0 commit comments

Comments
 (0)