Skip to content

Merge pull request #506 from Caascad/update_nixpkgs #28

Merge pull request #506 from Caascad/update_nixpkgs

Merge pull request #506 from Caascad/update_nixpkgs #28

name: Publish terraform providers
on:
push:
branches:
- master
paths:
- '**.nix'
- 'nix/*'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
publish:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v25
- name: Setup binary cache
uses: cachix/cachix-action@v14
with:
name: toolbox
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Build terraform providers
run: nix-build -A terraform-providers
env:
NIXPKGS_ALLOW_UNFREE: 1