mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-16 12:47:55 +08:00
remove cargo cache
Looks like cargo cache is inside the Nix store.
This commit is contained in:
@@ -37,20 +37,11 @@ jobs:
|
||||
name: soywod
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
extraPullNames: nix-community
|
||||
- name: Restore Cargo home
|
||||
uses: actions/cache/restore@v4
|
||||
id: cache-cargo-restore
|
||||
with:
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
path: |
|
||||
~/.cargo/bin/
|
||||
~/.cargo/registry/index/
|
||||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
- name: Build release
|
||||
run: |
|
||||
nix build -L .#${{ matrix.target }}
|
||||
nix run -L .#${{ matrix.target }} -- --version
|
||||
cp result/himalaya* .
|
||||
cp result/himalaya.tgz result/himalaya.zip .
|
||||
- name: Upload release artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@@ -58,13 +49,3 @@ jobs:
|
||||
path: |
|
||||
himalaya.tgz
|
||||
himalaya.zip
|
||||
- name: Save Cargo home
|
||||
uses: actions/cache/save@v4
|
||||
id: cache-cargo-save
|
||||
with:
|
||||
key: ${{ steps.cache-cargo-restore.outputs.cache-primary-key }}
|
||||
path: |
|
||||
~/.cargo/bin/
|
||||
~/.cargo/registry/index/
|
||||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
|
||||
Reference in New Issue
Block a user