Skip to content

Open web ports on any interface #1046

Open web ports on any interface

Open web ports on any interface #1046

Workflow file for this run

# Generated with https://github.com/nix-community/nix-github-actions
# > nix run github:nix-community/nix-github-actions
name: Commit
on:
pull_request:
push:
jobs:
nix-matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V28
- id: set-matrix
name: Generate Nix Matrix
run: |
set -Eeu
echo "matrix=$(nix eval --json '.#githubActions.matrix')" >> "$GITHUB_OUTPUT"
nix-build:
needs: nix-matrix
runs-on: ${{ matrix.os }}
strategy:
matrix: ${{fromJSON(needs.nix-matrix.outputs.matrix)}}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V28
- run: nix build -L ".#${{ matrix.attr }}"