Skip to content

Commit

Permalink
fix: typo in Cargo.toml + switch to tag branch for publishing crates (#…
Browse files Browse the repository at this point in the history
…1024)

* Fix typo in cargo.toml

* CI: use ref to checkout to tag branch for publish

* CI: use ref for gh-release as well

---------

Co-authored-by: Farhad Shabani <[email protected]>
  • Loading branch information
seanchen1991 and Farhad-Shabani authored Jan 3, 2024
1 parent e340d1e commit 08aeb02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.ref }}
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@v2
- name: Install cargo-release
Expand All @@ -60,6 +62,8 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.ref }}
- uses: taiki-e/create-gh-release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ rstest = "0.18.2"
schemars = { version = "0.8.15" }
sha2 = { version = "0.10.8", default-features = false }
serde = { version = "1.0", default-features = false }
serde_json = { package = "serde-json-wasm", version = "1.0.0" , default-features = false }
serde_json = { package = "serde-json-wasm", version = "1.0.0", default-features = false }
subtle-encoding = { version = "0.5", default-features = false }

# ibc dependencies
Expand Down

0 comments on commit 08aeb02

Please sign in to comment.