Skip to content

Commit

Permalink
chore: use a nix-shell action that supports unfree packages...
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesRudolph committed Oct 16, 2023
1 parent 39d0ed9 commit 90c9bd7
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,17 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: workflow/nix-shell-action@v3.3.0
- uses: rrbutani/use-nix-shell-action@v1
env:
NIXPKGS_ALLOW_UNFREE: 1 # terraform uses BSL license now, so we have to enable unfree
COLLIE_VERSION: ${{ github.event.release.tag_name }}
with:
packages: terraform,terragrunt,terraform-docs
script: |
curl -sf -L https://raw.githubusercontent.com/meshcloud/collie-cli/main/install.sh | sudo bash
collie info
./test/e2e.sh
- name: run test
env:
COLLIE_VERSION: ${{ github.event.release.tag_name }}
run: |
curl -sf -L https://raw.githubusercontent.com/meshcloud/collie-cli/main/install.sh | sudo bash
collie info
./test/e2e.sh
e2e-macos:
runs-on: macos-latest
needs: artifacts
Expand All @@ -121,13 +122,14 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: workflow/[email protected]
env:
COLLIE_VERSION: ${{ github.event.release.tag_name }}
- uses: rrbutani/use-nix-shell-action@v1
env:
NIXPKGS_ALLOW_UNFREE: 1 # terraform uses BSL license now, so we have to enable unfree
with:
packages: terraform,terragrunt,terraform-docs
script: |
curl -sf -L https://raw.githubusercontent.com/meshcloud/collie-cli/main/install.sh | sudo bash
collie info
./test/e2e.sh
- name: run test
env:
COLLIE_VERSION: ${{ github.event.release.tag_name }}
run: |
curl -sf -L https://raw.githubusercontent.com/meshcloud/collie-cli/main/install.sh | sudo bash
collie info
./test/e2e.sh

0 comments on commit 90c9bd7

Please sign in to comment.