install & cache tools

This commit is contained in:
folex 2021-01-06 18:26:05 +03:00
parent 229e5f4ebf
commit 9ea27fd9cb

View File

@ -48,6 +48,8 @@ jobs:
- name: Calculate the version
run: |
set -x
# install semver and add it to PATH
yarn global add semver
PATH="$(yarn global bin):$PATH"
@ -81,9 +83,9 @@ jobs:
- name: Login to crates.io
run: cargo login ${{ secrets.CRATES_IO_TOKEN }}
# Set the same version to all crates in the workspace and publish
- name: Publish to crates.io
run: cargo ws publish --no-git-commit --allow-dirty --yes custom "${{ env.FINAL_VERSION }}"
# # Set the same version to all crates in the workspace and publish
# - name: Publish to crates.io
# run: cargo ws publish --no-git-commit --allow-dirty --yes custom "${{ env.FINAL_VERSION }}"
# ### Create a pre-release
# - name: Create Release