Skip to content

Commit

Permalink
test ci 27.
Browse files Browse the repository at this point in the history
Signed-off-by: Exadra37 <exadra37@gmail.com>
  • Loading branch information
Exadra37 committed Apr 11, 2024
1 parent 466545a commit 136c5f9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/elixir-tauri-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,17 +169,17 @@ jobs:
# Step: Define how to cache the `_build` directory. After the first run,
# this speeds up tests runs a lot. This includes not re-compiling our
# project's downloaded deps every run.
# - name: Mix Cache compiled build
# id: burrito-cache-build
# uses: actions/cache@v3
# env:
# cache-name: burrito-cache-compiled-build
# with:
# path: example/_build
# key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ env.cache-name }}-${{ hashFiles('**/mix.lockkk') }}
# restore-keys: |
# ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ env.cache-name }}-
# ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}--mix-
- name: Mix Cache compiled build
id: burrito-cache-build
uses: actions/cache@v3
env:
cache-name: burrito-cache-compiled-build
with:
path: example/_build
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ env.cache-name }}-${{ hashFiles('**/mix.lockkk') }}
restore-keys: |
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ env.cache-name }}-
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}--mix-
# Step: Conditionally bust the cache when job is re-run.
# Sometimes, we may have issues with incremental builds that are fixed by
Expand Down Expand Up @@ -280,7 +280,7 @@ jobs:
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: './src-tauri -> target'
workspaces: './example/src-tauri -> target'

- name: Retrieve Saved Burrito Releases
uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion lib/tauri/bundle_release.ex
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ defmodule ExTauri.Tauri.BundleRelease do
end

defp burrito_wrap_release(release_name) do
Mix.Task.run("release", [release_name])
Mix.Task.run("release", [release_name, "--override"])
release_name
end

Expand Down

0 comments on commit 136c5f9

Please sign in to comment.