From c370e007fd745ed1ee66ad70f42e5229400f2ca7 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Fri, 11 Feb 2022 16:54:56 -0700 Subject: [PATCH] gpu-dawn: checkout repo so we can use git rev-parse Signed-off-by: Stephen Gutekanst --- gpu-dawn/.github/workflows/draft_release.yml | 2 ++ gpu-dawn/.github/workflows/publish_release.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gpu-dawn/.github/workflows/draft_release.yml b/gpu-dawn/.github/workflows/draft_release.yml index f345440b..3c92a03f 100644 --- a/gpu-dawn/.github/workflows/draft_release.yml +++ b/gpu-dawn/.github/workflows/draft_release.yml @@ -7,6 +7,8 @@ jobs: draft: runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v2 - name: Create draft run: gh release create $(git rev-parse --short HEAD) --title "Automatic release of main @ $(git rev-parse --short HEAD)" env: diff --git a/gpu-dawn/.github/workflows/publish_release.yml b/gpu-dawn/.github/workflows/publish_release.yml index 1d9f790f..da687e2c 100644 --- a/gpu-dawn/.github/workflows/publish_release.yml +++ b/gpu-dawn/.github/workflows/publish_release.yml @@ -8,6 +8,8 @@ jobs: draft: runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v2 - name: Publish release run: echo "TODO(build-system): gh CLI has no way to mark draft as published?" env: