Skip to content

ci(gha): build and store tarball artifacts #2

ci(gha): build and store tarball artifacts

ci(gha): build and store tarball artifacts #2

Workflow file for this run

name: 'build'
on:
push:
branches:
- master
- feature/*
- hotfix/*
pull_request: {}
workflow_call: {}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@v4
with:
github-token: ${{ github.token }}
- name: Build tarballs 🛠️
run: |
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
sudo nix run .#nixosConfigurations.nixos.config.system.build.tarballBuilder
- name: Upload tarball 📤
uses: actions/upload-artifact@v3
with:
name: tarball
path: nixos-wsl.tar.gz