Skip to content

update github file to build output for both archs #17

update github file to build output for both archs

update github file to build output for both archs #17

Workflow file for this run

name: artifact
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
arch:
- 'x86_64-linux'
- 'aarch64-linux'
steps:
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Building tarball for ${{ matrix.arch }}
run: nix build
- name: Uploading artifacts
uses: actions/upload-artifact@v3
with:
name: nixos-system-${{ matrix.arch }}.tar.xz
path: result/tarball/nixos-system-${{ matrix.arch }}.tar.xz