mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-01 03:02:28 +03:00
fix(tauri): make github action envs absolute for extra path level in runner.rs (#438)
* fix(tauri): extra path level in runner.rs
This file is one folder deeper than the other files which reference this env. This env is a relative folder reference so we need to concat an extra folder traversal into it.
* Revert "fix(tauri): extra path level in runner.rs"
This reverts commit eb1034b4f3
.
* make envs in GH Actions absolute for now
* runner is only available within steps
This commit is contained in:
parent
da5f654332
commit
c1638e92a6
7
.github/workflows/check-on-push.yml
vendored
7
.github/workflows/check-on-push.yml
vendored
@ -9,9 +9,7 @@ on:
|
||||
jobs:
|
||||
clippy_check:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
TAURI_DIST_DIR: tauri/test/fixture/dist
|
||||
TAURI_DIR: ../test/fixture/src-tauri
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: install webkit2gtk
|
||||
@ -22,3 +20,6 @@ jobs:
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
env:
|
||||
TAURI_DIST_DIR: ${{ runner.workspace }}/tauri/tauri/test/fixture/dist
|
||||
TAURI_DIR: ${{ runner.workspace }}/tauri/tauri/test/fixture/src-tauri
|
||||
|
4
.github/workflows/release-cargo.yml
vendored
4
.github/workflows/release-cargo.yml
vendored
@ -12,8 +12,8 @@ jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
TAURI_DIST_DIR: tauri/test/fixture/dist
|
||||
TAURI_DIR: ../test/fixture/src-tauri
|
||||
TAURI_DIST_DIR: ${{ runner.workspace }}/tauri/tauri/test/fixture/dist
|
||||
TAURI_DIR: ${{ runner.workspace }}/tauri/tauri/test/fixture/src-tauri
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
8
.github/workflows/test-on-pr.yml
vendored
8
.github/workflows/test-on-pr.yml
vendored
@ -27,14 +27,14 @@ jobs:
|
||||
cd ./tauri
|
||||
cargo build
|
||||
env:
|
||||
TAURI_DIST_DIR: ../../test/fixture/dist
|
||||
TAURI_DIR: ../test/fixture/src-tauri
|
||||
TAURI_DIST_DIR: ${{ runner.workspace }}/tauri/tauri/test/fixture/dist
|
||||
TAURI_DIR: ${{ runner.workspace }}/tauri/tauri/test/fixture/src-tauri
|
||||
- name: test
|
||||
run: |
|
||||
cargo test
|
||||
env:
|
||||
TAURI_DIST_DIR: ../../test/fixture/dist
|
||||
TAURI_DIR: ../test/fixture/src-tauri
|
||||
TAURI_DIST_DIR: ${{ runner.workspace }}/tauri/tauri/test/fixture/dist
|
||||
TAURI_DIR: ${{ runner.workspace }}/tauri/tauri/test/fixture/src-tauri
|
||||
|
||||
build-tauri-bundler:
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
Loading…
Reference in New Issue
Block a user