Skip to content

Commit

Permalink
Pin versions on Cachix
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Nov 1, 2023
1 parent f55de7c commit e6de97a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
with:
name: nixpkgs-terraform
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix build --impure .#${{ matrix.package.name }}
id: nix_build
- run: echo "out-paths=$(nix build --impure .#${{ matrix.package.name }} --print-out-paths)" >> "$GITHUB_OUTPUT"
id: nix-build
env:
NIXPKGS_ALLOW_UNFREE: ${{ matrix.package.allow_unfree }}
# - run: cachix pin nixpkgs-terraform v${{ matrix.package.version }}-${{ matrix.runner.system }} ${{ join(steps.nix_build.outputs.*) }}
- run: cachix pin nixpkgs-terraform v${{ matrix.package.version }}-${{ matrix.runner.system }} ${{ steps.nix-build.outputs.out-paths }}

0 comments on commit e6de97a

Please sign in to comment.