-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (32 loc) · 918 Bytes
/
nix.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: CI
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: ["main"]
pull_request:
branches: ["main"]
<<<<<<< Updated upstream
# Allows you to run this workflow manually from the Actions tab
=======
types: [labeled]
>>>>>>> Stashed changes
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: x86_64-linux
<<<<<<< Updated upstream
=======
if: ${{ github.event.label.name == 'backend' }}
outputs:
image_name: ${{ steps.image_info.outputs.image_name }}
>>>>>>> Stashed changes
steps:
- uses: actions/checkout@v4
- uses: cachix/cachix-action@v15
with:
name: nammayatri
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
skipPush: true
- name: Build all flake outputs
run: om ci