chore: remove tauri bundler install

This commit is contained in:
Lucas Nogueira
2021-02-06 11:31:26 -03:00
parent 4412b7c438
commit c94b9b3696
3 changed files with 1 additions and 7 deletions

View File

@@ -72,7 +72,7 @@ If you want to use your local code in another app, we recommend using [Yarn link
### Developing Tauri Bundler
The code for the bundler is located in `[Tauri repo root]/cli/tauri-bundler`. After making your changes to the code, run `cargo install --path .` in the bundler directory. This will update the global `tauri-bundler` Cargo install to use your local code. Now, all of your Tauri projects will use the local code when bundling. The Cargo install needs to be run after every change.
The code for the bundler is located in `[Tauri repo root]/cli/tauri-bundler`. Build the Tauri CLI on `[Tauri repo root]/cli/core` with `$ cargo build`. This is handled automatically when using the JS CLI.
### Developing Tauri Core

View File

@@ -78,9 +78,6 @@ jobs:
- name: install and build assets
working-directory: 'example/${{ github.event.inputs.dir }}'
run: ${{ github.event.inputs.buildAssets }}
- name: cargo install tauri-bundler --force
working-directory: tauri/cli/tauri-bundler
run: cargo install tauri-bundler --path . --force
- name: build tauri app
uses: tauri-apps/tauri-action@v0
env:

View File

@@ -52,9 +52,6 @@ jobs:
with:
path: ${{ format('{0}/registry/cache/', matrix.CARGO_HOME) }}
key: ${{ runner.OS }}-build-reg-cache-${{ hashFiles('**/Cargo.toml') }}-
- run: cargo install tauri-bundler --force
# if we pull from cache, this will be skipped, but force just in case cache has an issue but it does exist
if: steps.cache_rust_bin.outputs.cache-hit != 'true' || steps.cache_rust_reg_index.outputs.cache-hit != 'true' || steps.cache_rust_reg_cache.outputs.cache-hit != 'true'
- name: cache node modules
uses: actions/cache@v1
with: