upload all result to artifacts

This commit is contained in:
Clément DOUIN 2024-09-17 09:18:59 +02:00
parent a6344d682d
commit 90183fc302
No known key found for this signature in database
GPG key ID: 353E4A18EE0FAB72

View file

@ -6,8 +6,6 @@ on:
jobs:
test:
runs-on: ${{ matrix.os }}
env:
CARGO_HOME: ~/.cargo
strategy:
fail-fast: false
matrix:
@ -31,7 +29,7 @@ jobs:
nix_path: nixpkgs=channel:nixos-24.05
enable_kvm: true
extra_nix_config: "experimental-features = nix-command flakes"
- name: Restore Nix store
- name: Cache Nix store
uses: cachix/cachix-action@v15
with:
name: soywod
@ -41,11 +39,8 @@ jobs:
run: |
nix build -L .#${{ matrix.target }}
nix run -L .#${{ matrix.target }} -- --version
cp result/himalaya.tgz result/himalaya.zip .
- name: Upload release artifact
uses: actions/upload-artifact@v4
with:
name: release
path: |
himalaya.tgz
himalaya.zip
path: result