Skip to content

Commit

Permalink
Always call cachix pin
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Nov 1, 2023
1 parent 9a1adab commit 9ade2cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ jobs:
with:
name: nixpkgs-terraform
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: echo "out-paths=$(nix build --impure .#${{ matrix.package.name }})" >> "$GITHUB_OUTPUT"
- 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 }} ${{ steps.nix-build.outputs.out-paths }} --keep-revisions 1
if: ${{ steps.nix-build.outputs.out-paths != '' }}

0 comments on commit 9ade2cf

Please sign in to comment.