mirror of
https://github.com/input-output-hk/devx.git
synced 2024-09-21 00:58:07 +03:00
Revert "Avoid building in GHA" (#73)
This reverts commit 43d7fb43e5
.
It turns out that we need to build the `plan-nix` derivations as they are not cached.
This commit is contained in:
parent
63cfb6355d
commit
f2ea69c182
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -82,7 +82,7 @@ jobs:
|
||||
# fixed output of the derivation is already in the `/nix/store` and will
|
||||
# not try to fetch it using the platform we do not have a builder for.
|
||||
if [[ "${{ matrix.platform }}" != "x86_64-linux" && "${{ matrix.target-platform }}" = "-js" ]]; then
|
||||
nix build --builders "" --max-jobs 0 ".#hydraJobs.x86_64-linux.${{ matrix.compiler-nix-name }}-js-minimal" --show-trace
|
||||
nix build ".#hydraJobs.x86_64-linux.${{ matrix.compiler-nix-name }}-js-minimal" --show-trace
|
||||
fi
|
||||
- name: Compute and upload closure and developer environment to ghcr.io
|
||||
env:
|
||||
|
@ -2,6 +2,6 @@
|
||||
#! nix-shell -i bash -p zstd -p oras
|
||||
set -euox pipefail
|
||||
|
||||
nix build --builders "" --max-jobs 0 ".#hydraJobs.${DEV_SHELL}" --show-trace
|
||||
nix build ".#hydraJobs.${DEV_SHELL}" --show-trace
|
||||
nix-store --export $(nix-store -qR result) | zstd -z8T8 >${DEV_SHELL}
|
||||
oras push ghcr.io/input-output-hk/devx:${DEV_SHELL} ${DEV_SHELL}
|
||||
|
Loading…
Reference in New Issue
Block a user