gpu-dawn: checkout repo so we can use git rev-parse
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
b93dc4a207
commit
c370e007fd
2 changed files with 4 additions and 0 deletions
2
gpu-dawn/.github/workflows/draft_release.yml
vendored
2
gpu-dawn/.github/workflows/draft_release.yml
vendored
|
|
@ -7,6 +7,8 @@ jobs:
|
||||||
draft:
|
draft:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
- name: Create draft
|
- name: Create draft
|
||||||
run: gh release create $(git rev-parse --short HEAD) --title "Automatic release of main @ $(git rev-parse --short HEAD)"
|
run: gh release create $(git rev-parse --short HEAD) --title "Automatic release of main @ $(git rev-parse --short HEAD)"
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,8 @@ jobs:
|
||||||
draft:
|
draft:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
- name: Publish release
|
- name: Publish release
|
||||||
run: echo "TODO(build-system): gh CLI has no way to mark draft as published?"
|
run: echo "TODO(build-system): gh CLI has no way to mark draft as published?"
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue