mirror of
https://github.com/soywod/himalaya.git
synced 2024-11-24 20:10:23 +00:00
upload all result to artifacts
This commit is contained in:
parent
a6344d682d
commit
90183fc302
1 changed files with 2 additions and 7 deletions
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue