Skip to content

Commit

Permalink
Update bindings path
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco <francesco@fulminlabs.org>
  • Loading branch information
fulminmaxi committed Dec 3, 2023
1 parent 4aac35a commit 7d6c412
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo and submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Parse cargo.toml and assert version tag matching
# Hacky way of parsing the version from Cargo.toml and comparing it to tag
run: |
if [ "$(cat bindings/rust/Cargo.toml | grep version | head -n 1 |awk '{print $3}' | tr -d '"' )" == "${GITHUB_REF#refs/*/}" ];then exit 0; else exit 1; fi
if [ "$(cat rust-bindings/Cargo.toml | grep version | head -n 1 |awk '{print $3}' | tr -d '"' )" == "${GITHUB_REF#refs/*/}" ];then exit 0; else exit 1; fi
publish:
needs: [test, version-tag-match]
# Ensure master is tagged
Expand Down Expand Up @@ -71,5 +71,5 @@ jobs:
run: forge build

- name: Publish to cargo
working-directory: bindings/rust
working-directory: rust-bindings
run: cargo publish --registry fulmin-labs-registry

0 comments on commit 7d6c412

Please sign in to comment.