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