File tree 2 files changed +36
-1
lines changed
2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : " Create GitHub Release"
2
+ on :
3
+ workflow_run :
4
+ workflows :
5
+ - " Tests"
6
+ branches :
7
+ - master
8
+ types :
9
+ - completed
10
+ jobs :
11
+ release :
12
+ runs-on : ubuntu-20.04
13
+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ - name : " Get Jupyter Workflow version"
17
+ run : echo "JF_VERSION=$(cat jupyter_workflow/version.py | grep -oP '(?<=VERSION = \")(.*)(?=\")')" >> $GITHUB_ENV
18
+ - name : " Check tag existence"
19
+
20
+ id : check-tag
21
+ with :
22
+ tag : ${{ env.JF_VERSION }}
23
+ env :
24
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25
+ - name : " Create Release"
26
+ id : create-release
27
+ uses : actions/create-release@v1
28
+ if : ${{ steps.check-tag.outputs.exists == 'false' }}
29
+ env :
30
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31
+ with :
32
+ tag_name : ${{ env.JF_VERSION }}
33
+ release_name : ${{ env.JF_VERSION }}
34
+ draft : false
35
+ prerelease : false
Original file line number Diff line number Diff line change 1
- VERSION = "0.0.37 "
1
+ VERSION = "0.1.0.dev0 "
You can’t perform that action at this time.
0 commit comments