gpu-dawn: authenticate the GH CLI
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
1807e7b2f3
commit
b93dc4a207
4 changed files with 10 additions and 0 deletions
4
gpu-dawn/.github/workflows/ci.yml
vendored
4
gpu-dawn/.github/workflows/ci.yml
vendored
|
|
@ -27,6 +27,8 @@ jobs:
|
|||
mv zig-out/lib/libdawn.a zig-out/lib/libdawn_x86_64-linux.a
|
||||
gzip -9 zig-out/lib/libdawn_x86_64-linux.a
|
||||
gh release upload $(git rev-parse --short HEAD) zig-out/lib/libdawn_x86_64-linux.a
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# TODO(build-system): enable windows CI here once gpu-dawn builds under Windows
|
||||
# x86_64-windows:
|
||||
# runs-on: windows-latest
|
||||
|
|
@ -71,3 +73,5 @@ jobs:
|
|||
mv zig-out/lib/libdawn.a zig-out/lib/libdawn_x86_64-macos.a
|
||||
gzip -9 zig-out/lib/libdawn_x86_64-macos.a
|
||||
gh release upload $(git rev-parse --short HEAD) zig-out/lib/libdawn_x86_64-macos.a
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
2
gpu-dawn/.github/workflows/draft_release.yml
vendored
2
gpu-dawn/.github/workflows/draft_release.yml
vendored
|
|
@ -9,3 +9,5 @@ jobs:
|
|||
steps:
|
||||
- name: Create draft
|
||||
run: gh release create $(git rev-parse --short HEAD) --title "Automatic release of main @ $(git rev-parse --short HEAD)"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
2
gpu-dawn/.github/workflows/m1_ci.yml
vendored
2
gpu-dawn/.github/workflows/m1_ci.yml
vendored
|
|
@ -27,3 +27,5 @@ jobs:
|
|||
mv zig-out/lib/libdawn.a zig-out/lib/libdawn_aarch64-macos.a
|
||||
gzip -9 zig-out/lib/libdawn_aarch64-macos.a
|
||||
gh release upload $(git rev-parse --short HEAD) zig-out/lib/libdawn_aarch64-macos.a
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
|
|
@ -10,3 +10,5 @@ jobs:
|
|||
steps:
|
||||
- name: Publish release
|
||||
run: echo "TODO(build-system): gh CLI has no way to mark draft as published?"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue