-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 874 Bytes
/
build.yaml
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
on:
pull_request:
push:
branches: [master]
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: determinatesystems/nix-installer-action@main
- run: nix build . -o resume.pdf
# b is for boring
- run: nix build .#serious -o resume-b.pdf
- uses: actions/upload-artifact@v4
with:
name: resume.pdf
path: resume.pdf
- uses: actions/upload-artifact@v4
with:
name: resume-b.pdf
path: resume-b.pdf
- uses: ncipollo/release-action@v1
if: ${{ github.ref == 'refs/heads/master' }}
with:
allowUpdates: true
artifacts: resume.pdf, resume-b.pdf
makeLatest: true
tag: "latest"
omitBody: true
omitName: true