Skip to content

Commit

Permalink
ci: include flake output paths
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Jan 9, 2025
1 parent d6e1a57 commit 4afc765
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/build-package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ runs:
echo "✅ License found, building normally"
nix build .#${{ inputs.package }} -L
fi
- uses: "DeterminateSystems/flakehub-push@v5"
with:
include-output-paths: true
visibility: "public"
1 change: 1 addition & 0 deletions .github/workflows/build-iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,5 @@ jobs:
- uses: "DeterminateSystems/flakehub-push@v5"
with:
tag: ${{ needs.build-iso.outputs.ver }}
include-output-paths: true
visibility: "public"
9 changes: 9 additions & 0 deletions .github/workflows/build-servers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
fi
done
nix build .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel -L
- uses: "DeterminateSystems/flakehub-push@v5"
with:
include-output-paths: true
visibility: "public"

build-home:
runs-on: blacksmith-2vcpu-ubuntu-2204
strategy:
Expand All @@ -61,3 +66,7 @@ jobs:
fi
done
nix run nixpkgs#home-manager -- build --flake .#${{ matrix.home }} -L
- uses: "DeterminateSystems/flakehub-push@v5"
with:
include-output-paths: true
visibility: "public"
9 changes: 9 additions & 0 deletions .github/workflows/build-vms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
- name: Building 👷 ${{ matrix.host }} ️🧟
run: |
nix build .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel -L
- uses: "DeterminateSystems/flakehub-push@v5"
with:
include-output-paths: true
visibility: "public"

build-home:
runs-on: ubuntu-22.04
strategy:
Expand All @@ -45,3 +50,7 @@ jobs:
- name: Building 👷 ${{ matrix.home }} 🏚️
run: |
nix run nixpkgs#home-manager -- build --flake .#${{ matrix.home }} -L
- uses: "DeterminateSystems/flakehub-push@v5"
with:
include-output-paths: true
visibility: "public"
9 changes: 9 additions & 0 deletions .github/workflows/build-workstations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
fi
done
nix build .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel -L
- uses: "DeterminateSystems/flakehub-push@v5"
with:
include-output-paths: true
visibility: "public"

build-home:
runs-on: blacksmith-2vcpu-ubuntu-2204
strategy:
Expand All @@ -61,3 +66,7 @@ jobs:
fi
done
nix run nixpkgs#home-manager -- build --flake .#${{ matrix.home }} -L
- uses: "DeterminateSystems/flakehub-push@v5"
with:
include-output-paths: true
visibility: "public"
2 changes: 2 additions & 0 deletions .github/workflows/fh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ jobs:
permissions:
id-token: "write"
contents: "read"
with:
visibility: true

0 comments on commit 4afc765

Please sign in to comment.