ci: update the workflow environment

This commit is contained in:
Gabriel Arazas 2023-07-16 19:30:13 +08:00
parent e4eed3568a
commit 13614aa530
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 6 additions and 2 deletions

View File

@ -8,6 +8,7 @@ on:
schedule:
- cron: '30 11 * * *' # At 11:30 everyday.
env:
NIXPKGS_ALLOW_BROKEN: "1"
NIXPKGS_ALLOW_UNFREE: "1"
jobs:
check-outputs:

View File

@ -15,8 +15,11 @@ jobs:
- uses: DeterminateSystems/nix-installer-action@v4
- name: Build ISO
run: |
nix build .#images.bootstrap --out-link build-iso-result
nix build .#images.graphical-installer --out-link build-graphical-iso-result
nix build .#images.bootstrap --impure --out-link build-iso-result
nix build .#images.graphical-installer --impure --out-link build-graphical-iso-result
env:
NIXPKGS_ALLOW_BROKEN: "1"
NIXPKGS_ALLOW_UNFREE: "1"
- name: Create release
if: github.ref == 'refs/heads/master'
env: