Skip to content

Commit f1a9c8c

Browse files
committed
test ci
1 parent 43ba7f1 commit f1a9c8c

File tree

3 files changed

+47
-108
lines changed

3 files changed

+47
-108
lines changed

.github/workflows/main.yml

+11-4
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,11 @@ jobs:
8080

8181
steps:
8282
- uses: actions/checkout@v3
83-
- uses: asdf-vm/actions/install@v2
84-
env:
85-
KERL_CONFIGURE_OPTIONS: --disable-dynamic-ssl-lib
83+
- name: Restore asdf
84+
uses: actions/cache@v3
85+
with:
86+
path: ~/.asdf
87+
key: ${{ runner.os }}-asdf-${{ hashFiles(format('{0}{1}', github.workspace, '/.tool-versions')) }}
8688
- name: Restore deps and _build
8789
uses: actions/cache@v3
8890
with:
@@ -93,8 +95,13 @@ jobs:
9395
- name: Restore rust target
9496
uses: actions/cache@v3
9597
with:
96-
path: src-tauri/target
98+
path: |
99+
src-tauri/target/release/deps
100+
src-tauri/target/release/build
97101
key: ${{ runner.os }}-cargo-${{ hashFiles(format('{0}{1}', github.workspace, '/src-tauri/Cargo.lock')) }}
102+
- uses: asdf-vm/actions/install@v2
103+
env:
104+
KERL_CONFIGURE_OPTIONS: --disable-dynamic-ssl-lib
98105
- run: mix local.hex --force
99106
- run: mix local.rebar --force
100107
- run: mix setup

src-tauri/Cargo.lock

+31-102
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

+5-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ edition = "2021"
99

1010
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1111

12-
[build-dependencies]
13-
tauri-build = { version = "1.2", features = [] }
12+
[build-dependencies.tauri-build]
13+
git = "https://github.com/tauri-apps/tauri"
14+
branch = "dev"
15+
package = "tauri-build"
16+
features = []
1417

1518
[dependencies]
1619
serde = { version = "1.0", features = ["derive"] }

0 commit comments

Comments
 (0)