From 2a06a7bfb16b3fed5cd6b6d29f421ae2f691b8d5 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Sun, 5 Jan 2025 21:38:12 -0800 Subject: [PATCH] add deploy environment --- .github/workflows/build.yml | 3 ++- README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 88a5e15..c47e4a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -118,8 +118,9 @@ jobs: package: needs: build name: package-and-publish + environment: deploy runs-on: ubuntu-latest - if: ${{ startsWith(github.ref, 'refs/tags/') }} + if: ${{ startsWith(github.ref, 'refs/tags/v') }} steps: - name: Checkout uses: actions/checkout@v4 diff --git a/README.md b/README.md index 2ad70fa..a1f49cd 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ const device = await(await navigator.gpu.requestAdapter()).requestDevice(); ... ``` -see [example]() +see [example](https://github.com/greggman/node-webgpu/tree/main/example) You can pass dawn options in `create`