mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2024-11-01 19:11:15 +00:00
bdd8d3763e
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
25 lines
542 B
YAML
25 lines
542 B
YAML
name: Nix
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
command:
|
|
required: true
|
|
type: string
|
|
secrets:
|
|
CACHIX_AUTH_TOKEN:
|
|
required: false
|
|
|
|
jobs:
|
|
nix:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: DeterminateSystems/nix-installer-action@main
|
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
- uses: cachix/cachix-action@v12
|
|
with:
|
|
name: nix-gaming
|
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
|
- run: ${{ inputs.command }}
|