2019-11-28 01:26:24 +03:00
|
|
|
name: Cargo Publish
|
|
|
|
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types: [published]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
publish:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Login to Crates.IO
|
2019-11-30 14:48:39 +03:00
|
|
|
run: cargo login ${{ secrets.crate_token }}
|
|
|
|
- name: Publish CLI
|
2019-11-28 01:26:24 +03:00
|
|
|
run: |
|
2019-11-30 14:48:39 +03:00
|
|
|
cd cli/tauri-cli
|
2019-11-28 01:26:24 +03:00
|
|
|
echo "We will publish this directory."
|
|
|
|
ls # cargo publish
|
2019-11-30 14:48:39 +03:00
|
|
|
- name: Publish TAURI
|
2019-11-28 01:26:24 +03:00
|
|
|
run: |
|
2019-11-30 14:48:39 +03:00
|
|
|
cd tauri
|
2019-11-28 01:26:24 +03:00
|
|
|
echo "We will publish this directory."
|
2019-11-30 14:48:39 +03:00
|
|
|
ls # TAURI_DIST_DIR=../../test/fixture/dist cargo publish
|