-
-
Notifications
You must be signed in to change notification settings - Fork 15
38 lines (36 loc) · 1.29 KB
/
build.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: build
on:
pull_request:
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build
run: nix build . -L
- name: Set outputs
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Upload artifacts (Latte)
uses: actions/upload-artifact@v4
with:
name: 'catppuccin-latte-cursors-${{ steps.vars.outputs.sha_short }}'
path: result/catppuccin-latte-*.zip
- name: Upload artifacts (Frappe)
uses: actions/upload-artifact@v4
with:
name: 'catppuccin-frappe-cursors-${{ steps.vars.outputs.sha_short }}'
path: result/catppuccin-frappe-*.zip
- name: Upload artifacts (Macchiato)
uses: actions/upload-artifact@v4
with:
name: 'catppuccin-macchiato-cursors-${{ steps.vars.outputs.sha_short }}'
path: result/catppuccin-macchiato-*.zip
- name: Upload artifacts (Mocha)
uses: actions/upload-artifact@v4
with:
name: 'catppuccin-mocha-cursors-${{ steps.vars.outputs.sha_short }}'
path: result/catppuccin-mocha-*.zip