Skip to content

Commit ba6d705

Browse files
committed
https://github.com/actions/create-release/issues/64#issuecomment-638695206
1 parent 565780d commit ba6d705

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build-docker-image.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ jobs:
3636
- name: Checkout code
3737
uses: actions/checkout@v2
3838

39+
- name: Set body
40+
id: set_body
41+
run: |
42+
echo "::set-output name=grader_image::dddlab/data_science_project_template:sha-${GITHUB_SHA::7}"
43+
3944
- name: Create Release
4045
id: create_release
4146
uses: actions/create-release@v1
@@ -46,7 +51,7 @@ jobs:
4651
tag_name: ${{ github.ref }}
4752
release_name: Release ${{ github.ref }}
4853
body: |
49-
"dddlab/data_science_project_template:sha-${GITHUB_SHA}"
54+
${{ steps.set_body.outputs.grader_image }}
5055
draft: false
5156
prerelease: false
5257

0 commit comments

Comments
 (0)