style: move push action to new dir so github and gitea can share it
Some checks failed
Check / check (push) Failing after 0s
Some checks failed
Check / check (push) Failing after 0s
This commit is contained in:
21
.actions/init/action.yaml
Normal file
21
.actions/init/action.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
name: "initialize"
|
||||
description: "install nix & use cachix"
|
||||
|
||||
inputs:
|
||||
token:
|
||||
description: "cachix auth token"
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: install nix
|
||||
uses: cachix/install-nix-action@v31
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
|
||||
- name: use cachix
|
||||
uses: cachix/cachix-action@v16
|
||||
with:
|
||||
name: trevstack
|
||||
authToken: "${{ inputs.token }}"
|
Reference in New Issue
Block a user