tauri/.github/workflows/cargo-publish.yml
2020-02-08 12:51:48 -03:00

24 lines
563 B
YAML

name: Cargo Publish
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to Crates.IO
run: cargo login ${{ secrets.crate_token }}
- name: Publish CLI
run: |
cd cli/tauri-bundler
echo "We will publish this directory."
ls # cargo publish
- name: Publish TAURI
run: |
cd tauri
echo "We will publish this directory."
ls # TAURI_DIST_DIR=../../test/fixture/dist cargo publish