File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -66,25 +66,22 @@ jobs:
66
66
with :
67
67
ref : master
68
68
69
- - name : Debug commitish
70
- run : |
71
- echo "commitish: ${GITHUB_SHA}"
72
-
73
69
- name : Get current commitish
74
70
id : current_commitish
75
71
run : echo "::set-output name=sha::$(git log -1 --format="%H")"
76
72
77
- - name : Check outputs
73
+ - name : Check it
78
74
run : echo ${{ steps.current_commitish.outputs.sha }}
79
75
80
76
- name : Create Release draft
81
77
id : create_release
82
- uses : actions/create-release@v1
78
+ uses : actions/create-release@v1.1.2
83
79
env :
84
80
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
85
81
with :
86
82
release_name : ${{ steps.version.outputs.next-version }}
87
83
tag_name : ${{ steps.version.outputs.next-version }}
88
84
body : |
89
85
${{ steps.package.outputs.content }}
86
+ commitish : ${{ steps.current_commitish.outputs.sha }}
90
87
draft : true
You can’t perform that action at this time.
0 commit comments