Fix rust CI

This commit is contained in:
lazymio
2021-11-09 00:46:47 +01:00
parent 0714fb5760
commit c51bd2c6a6

View File

@ -70,7 +70,7 @@ jobs:
- name: '🚧 Cargo test' - name: '🚧 Cargo test'
if: "!startsWith(github.ref, 'refs/tags')" if: "!startsWith(github.ref, 'refs/tags')"
env: env:
QNICORN_VERSION: dev UNICORN_VERSION: dev
run: | run: |
cd bindings/rust && cargo test cd bindings/rust && cargo test
@ -78,5 +78,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags') && contains(matrix.config.os, 'ubuntu') if: startsWith(github.ref, 'refs/tags') && contains(matrix.config.os, 'ubuntu')
env: env:
TOKEN: ${{ secrets.cratesio_pass }} TOKEN: ${{ secrets.cratesio_pass }}
UNICORN_VERSION: dev
run: | run: |
cd bindings/rust && cargo login $TOKEN && cargo test && cargo publish cd bindings/rust && cargo login $TOKEN && cargo test && cargo publish