Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew committed Aug 30, 2021
1 parent 80a95d7 commit 5c46364
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -336,11 +336,17 @@ jobs:
run: dotnet nuget push bebop-runtime-cs-${{ steps.dotenv.outputs.version }}/bebop.${{ steps.dotenv.outputs.version }}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate

- name: Publish Rust Tools
run: cargo publish
run: |
sed 's/^version \?= \?.*/version = "${{ steps.dotenv.outputs.version }}"/' Cargo.toml > tmp
mv tmp Cargo.toml
cargo publish --allow-dirty
working-directory: ${{env.TOOLS_ROOT}}/cargo

- name: Publish Rust Runtime
run: cargo publish
run: |
sed 's/^version \?= \?.*/version = "${{ steps.dotenv.outputs.version }}"/' Cargo.toml > tmp
mv tmp Cargo.toml
cargo publish --allow-dirty
working-directory: ${{env.RUST_RUNTIME_ROOT}}

- name: Publish NodeJS Tools
Expand Down

0 comments on commit 5c46364

Please sign in to comment.