-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (37 loc) · 941 Bytes
/
Copy pathbuild-devshell.yaml
File metadata and controls
41 lines (37 loc) · 941 Bytes
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
39
40
41
name: Build devshell
on:
push:
workflow_dispatch:
jobs:
build_shell:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-22.04
- macos-14
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Prepare build environment
uses: ./.github/actions/prepare-build-environment
with:
attic-push-token: ${{ secrets.ATTIC_PUSH_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build shell
run: |
nix develop --command "menu"
shells_aggregated:
if: ${{ always() }}
runs-on: ubuntu-latest
needs: [build_shell]
steps:
- run: exit 1
# see https://stackoverflow.com/a/67532120/4907315
if: >-
${{
contains(needs.*.result, 'failure')
|| contains(needs.*.result, 'cancelled')
|| contains(needs.*.result, 'skipped')
}}