Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
Use explicit paths in publish-crates. Also adds flexbuffers publishing.
  • Loading branch information
dbaileychess authored May 29, 2024
1 parent f9dabf5 commit dcacfc5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,21 @@ jobs:
publish-crates:
name: Publish crates.io
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./rust/flatbuffers
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Publish Flatbuffers
- uses: katyo/publish-crates@v2
with:
path: .rust/flatbuffers
registry-token: ${{ secrets.CARGO_TOKEN }}

- name: Publish Flexbuffers
- uses: katyo/publish-crates@v2
with:
path: .rust/flexbuffers
registry-token: ${{ secrets.CARGO_TOKEN }}

0 comments on commit dcacfc5

Please sign in to comment.