Skip to content

Commit

Permalink
ci: remove musl & change cache behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
SARDONYX-sard committed Feb 17, 2024
1 parent ea1782e commit 6598268
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ jobs:
# ---- This part is not automatically generated. ----
- name: Install dependencies (ubuntu only)
# NOTE: This package specification will fail to find musl if musl is the target.
if: runner.os == 'Linux'
# You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
run: |
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/release-gui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
runs-on: ${{ matrix.platform }}

steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
Expand All @@ -30,15 +29,9 @@ jobs:
uses: dtolnay/rust-toolchain@stable

- name: Rust cache
uses: actions/cache@v4
uses: Swatinem/rust-cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
prefix-key: cargo-${{ matrix.platform }}

- name: Sync node version and setup cache
uses: actions/setup-node@v4
Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ targets = [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"x86_64-pc-windows-msvc",
]
# Publish jobs to run in CI
Expand Down

0 comments on commit 6598268

Please sign in to comment.