Skip to content

Commit

Permalink
ci: Fix paths in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianLars committed Jun 24, 2024
1 parent 982d20d commit 5a33127
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# example-with-tauri tests the auto installation of the tauri cli
- name: install example dependencies
run: pnpm install
working-directory: ./__fixtures__/example-v1
working-directory: ./.github/fixtures/example-v1

# rust
- name: install Rust stable
Expand All @@ -51,8 +51,8 @@ jobs:
with:
cache-on-failure: true
workspaces: |
./__fixtures__/example-v1/src-tauri -> ../../target
./__fixtures__/example-with-tauri-v1/src-tauri -> ../../target
./.github/fixtures/example-v1/src-tauri -> ../../target
./.github/fixtures/example-with-tauri-v1/src-tauri -> ../../target
# system
- name: install dependencies (ubuntu only)
Expand All @@ -68,7 +68,7 @@ jobs:
# Updater signature is exposed here to make sure it works in PR's
TAURI_PRIVATE_KEY: dW50cnVzdGVkIGNvbW1lbnQ6IHJzaWduIGVuY3J5cHRlZCBzZWNyZXQga2V5ClJXUlRZMEl5YTBGV3JiTy9lRDZVd3NkL0RoQ1htZmExNDd3RmJaNmRMT1ZGVjczWTBKZ0FBQkFBQUFBQUFBQUFBQUlBQUFBQWdMekUzVkE4K0tWQ1hjeGt1Vkx2QnRUR3pzQjVuV0ZpM2czWXNkRm9hVUxrVnB6TUN3K1NheHJMREhQbUVWVFZRK3NIL1VsMDBHNW5ET1EzQno0UStSb21nRW4vZlpTaXIwZFh5ZmRlL1lSN0dKcHdyOUVPclVvdzFhVkxDVnZrbHM2T1o4Tk1NWEU9Cg==
with:
projectPath: ./__fixtures__/example-with-tauri-v1
projectPath: ./.github/fixtures/example-with-tauri-v1
includeDebug: true
includeRelease: false
tagName: ${{ github.event.pull_request.head.repo.full_name == github.repository && 'example-with-tauri-v__VERSION__' || '' }}
Expand All @@ -84,7 +84,7 @@ jobs:
# Updater signature is exposed here to make sure it works in PR's
TAURI_PRIVATE_KEY: dW50cnVzdGVkIGNvbW1lbnQ6IHJzaWduIGVuY3J5cHRlZCBzZWNyZXQga2V5ClJXUlRZMEl5YTBGV3JiTy9lRDZVd3NkL0RoQ1htZmExNDd3RmJaNmRMT1ZGVjczWTBKZ0FBQkFBQUFBQUFBQUFBQUlBQUFBQWdMekUzVkE4K0tWQ1hjeGt1Vkx2QnRUR3pzQjVuV0ZpM2czWXNkRm9hVUxrVnB6TUN3K1NheHJMREhQbUVWVFZRK3NIL1VsMDBHNW5ET1EzQno0UStSb21nRW4vZlpTaXIwZFh5ZmRlL1lSN0dKcHdyOUVPclVvdzFhVkxDVnZrbHM2T1o4Tk1NWEU9Cg==
with:
projectPath: ./__fixtures__/example-v1
projectPath: ./.github/fixtures/example-v1
distPath: ../dist # relative to tauri.conf.json
iconPath: ./icon.png # relative to projectPath
bundleIdentifier: com.tauri.actiontest
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
# TODO: example-with-tauri tests the auto installation of the tauri cli
- name: install example dependencies
run: |
cd ./__fixtures__/example-v2
cd ./.github/fixtures/example-v2
pnpm install
cd ../example-with-tauri-v2
pnpm install
Expand All @@ -144,8 +144,8 @@ jobs:
with:
cache-on-failure: true
workspaces: |
./__fixtures__/example-v2/src-tauri -> ../../target
./__fixtures__/example-with-tauri-v2/src-tauri -> ../../target
./.github/fixtures/example-v2/src-tauri -> ../../target
./.github/fixtures/example-with-tauri-v2/src-tauri -> ../../target
# system
- name: install dependencies (ubuntu only)
Expand All @@ -161,7 +161,7 @@ jobs:
# Updater signature is exposed here to make sure it works in PR's
TAURI_SIGNING_PRIVATE_KEY: dW50cnVzdGVkIGNvbW1lbnQ6IHJzaWduIGVuY3J5cHRlZCBzZWNyZXQga2V5ClJXUlRZMEl5YTBGV3JiTy9lRDZVd3NkL0RoQ1htZmExNDd3RmJaNmRMT1ZGVjczWTBKZ0FBQkFBQUFBQUFBQUFBQUlBQUFBQWdMekUzVkE4K0tWQ1hjeGt1Vkx2QnRUR3pzQjVuV0ZpM2czWXNkRm9hVUxrVnB6TUN3K1NheHJMREhQbUVWVFZRK3NIL1VsMDBHNW5ET1EzQno0UStSb21nRW4vZlpTaXIwZFh5ZmRlL1lSN0dKcHdyOUVPclVvdzFhVkxDVnZrbHM2T1o4Tk1NWEU9Cg==
with:
projectPath: ./__fixtures__/example-with-tauri-v2
projectPath: ./.github/fixtures/example-with-tauri-v2
includeDebug: true
includeRelease: false
tagName: ${{ github.event.pull_request.head.repo.full_name == github.repository && 'example-with-tauri-v__VERSION__' || '' }}
Expand All @@ -177,7 +177,7 @@ jobs:
# Updater signature is exposed here to make sure it works in PR's
TAURI_SIGNING_PRIVATE_KEY: dW50cnVzdGVkIGNvbW1lbnQ6IHJzaWduIGVuY3J5cHRlZCBzZWNyZXQga2V5ClJXUlRZMEl5YTBGV3JiTy9lRDZVd3NkL0RoQ1htZmExNDd3RmJaNmRMT1ZGVjczWTBKZ0FBQkFBQUFBQUFBQUFBQUlBQUFBQWdMekUzVkE4K0tWQ1hjeGt1Vkx2QnRUR3pzQjVuV0ZpM2czWXNkRm9hVUxrVnB6TUN3K1NheHJMREhQbUVWVFZRK3NIL1VsMDBHNW5ET1EzQno0UStSb21nRW4vZlpTaXIwZFh5ZmRlL1lSN0dKcHdyOUVPclVvdzFhVkxDVnZrbHM2T1o4Tk1NWEU9Cg==
with:
projectPath: ./__fixtures__/example-v2
projectPath: ./.github/fixtures/example-v2
distPath: ../dist # relative to tauri.conf.json
iconPath: ./icon.png # relative to projectPath
bundleIdentifier: com.tauri.actiontest
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dist/
__fixtures__/
.github/fixtures/
__tests__
node_modules/

0 comments on commit 5a33127

Please sign in to comment.