diff options
| author | Henry <mail@henrygressmann.de> | 2026-04-26 21:59:15 +0200 |
|---|---|---|
| committer | Henry <mail@henrygressmann.de> | 2026-04-26 22:16:41 +0200 |
| commit | a8d7f3752416f76e9eb9e429c569f2bef70f1b51 (patch) | |
| tree | daffb517ca1ab6dee47a10a22885ae39126d13c2 /.github | |
| parent | 463a3a6f56a5ca06cda890fd6fe7f16485ef70a0 (diff) | |
chore: v0.9.0-alpha.0
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/release.yaml | 21 | ||||
| -rw-r--r-- | .github/workflows/test.yaml | 8 |
2 files changed, 26 insertions, 3 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..d1492a7 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,21 @@ +name: Publish +on: + push: + tags: ["v*"] + +jobs: + publish: + runs-on: ubuntu-latest + environment: release + permissions: + id-token: write + contents: read + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + - uses: rust-lang/crates-io-auth-action@bbd81622f20ce9e2dd9622e3218b975523e45bbe # v1.0.4 + id: auth + - run: cargo publish --workspace + env: + CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0e0c3c5..072e4e4 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,8 +16,9 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: submodules: true + persist-credentials: false - name: Install Rust toolchain - uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1.15.4 + uses: actions-rust-lang/setup-rust-toolchain@2b1f5e9b395427c92ee4e3331786ca3c37afe2d7 # v1.16.0 with: toolchain: nightly components: rust-src @@ -37,7 +38,7 @@ jobs: - name: Build wasm run: ./examples/rust/build.sh - name: Save artifacts - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: wasm path: examples/rust/out @@ -80,9 +81,10 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: submodules: true + persist-credentials: false - name: Install Rust toolchain - uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1.15.4 + uses: actions-rust-lang/setup-rust-toolchain@2b1f5e9b395427c92ee4e3331786ca3c37afe2d7 # v1.16.0 with: toolchain: ${{ matrix.rust }} rustflags: "" |
