From ac984888c0415e71af3921d33b2368b4b751c0d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mich=C3=A9e=20Lengronne?= Date: Thu, 23 Jul 2020 13:51:21 +0200 Subject: [PATCH] debugging more commitish MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michée Lengronne --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4d4ec8..81ebec3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,6 +70,13 @@ jobs: run: | echo "commitish: ${GITHUB_SHA}" + - name: Get current commitish + id: current_commitish + run: echo "::set-output name=sha::$(git log -1 --format="%H")" + + - name: Check outputs + run: echo ${{ steps.current_commitish.outputs.sha }} + - name: Create Release draft id: create_release uses: actions/create-release@v1