2024-12-21 13:40:31 +01:00
|
|
|
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
|
|
|
|
{
|
|
|
|
name = "Build the shell";
|
|
|
|
on = {
|
|
|
|
pull_request.branches = [ "main" ];
|
|
|
|
push.branches = [ "main" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
jobs = {
|
|
|
|
build-shell = {
|
|
|
|
runs-on = "nix";
|
|
|
|
steps = [
|
|
|
|
{ uses = "actions/checkout@v3"; }
|
|
|
|
{
|
|
|
|
name = "Build and cache shell";
|
2024-12-21 14:01:10 +01:00
|
|
|
run = ''nix-shell -A eval-shell --run "nix-build-and-cache -A devShell"'';
|
2024-12-21 13:40:31 +01:00
|
|
|
env = {
|
|
|
|
STORE_ENDPOINT = "https://tvix-store.dgnum.eu/infra-signing/";
|
|
|
|
STORE_USER = "admin";
|
|
|
|
STORE_PASSWORD = "\${{ secrets.STORE_PASSWORD }}";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|