Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ jobs:
Publish:
if: github.repository_owner == 'gfx-rs'
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Publish spirv
run: cargo publish --manifest-path spirv/Cargo.toml --token ${{ secrets.cratesio_token }}
- name: Publish rspirv
run: cargo publish --manifest-path rspirv/Cargo.toml --token ${{ secrets.cratesio_token }}
Comment on lines -20 to -22
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this publish succeeds after merging + pushing the tags, I'll drop the secret.

- uses: rust-lang/crates-io-auth-action@v1
id: auth
- run: cargo publish --workspace
env:
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
4 changes: 2 additions & 2 deletions rspirv/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rspirv"
version = "0.12.0+sdk-1.4.341.0"
version = "0.13.0+sdk-1.4.341.0"
authors = ["Lei Zhang <antiagainst@gmail.com>"]
edition = "2018"

Expand All @@ -19,7 +19,7 @@ travis-ci = { repository = "gfx-rs/rspirv" }

[dependencies]
rustc-hash = "1.1.0"
spirv = { version = "0.3.0", path = "../spirv" }
spirv = { version = "0.4.0", path = "../spirv" }

[dev-dependencies]
assert_matches = "1.1"
2 changes: 1 addition & 1 deletion rspirv/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ First add to your `Cargo.toml`:

```toml
[dependencies]
rspirv = "0.12.0"
rspirv = "0.13.0"
```

Examples
Expand Down
2 changes: 1 addition & 1 deletion spirv/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spirv"
version = "0.3.0+sdk-1.4.341.0"
version = "0.4.0+sdk-1.4.341.0"
authors = ["Lei Zhang <antiagainst@gmail.com>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion spirv/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ First add to your `Cargo.toml`:

```toml
[dependencies]
spirv = "0.3.0"
spirv = "0.4.0"
```

Examples
Expand Down
Loading