-
Notifications
You must be signed in to change notification settings - Fork 320
36 lines (33 loc) · 944 Bytes
/
dev-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
name: Dev Build
on:
pull_request:
types: [opened, synchronize, reopened]
env:
DART_SASS_VERSION: 1.81.0
jobs:
compile:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Dart Sass
uses: robinraju/release-downloader@v1
with:
repository: 'sass/dart-sass'
tag: ${{ env.DART_SASS_VERSION }}
fileName: "dart-sass-${{ env.DART_SASS_VERSION }}-linux-x64.tar.gz"
extract: true
- name: Add Binary to PATH
run: |
ln -s "$GITHUB_WORKSPACE/dart-sass/sass" "$GITHUB_WORKSPACE/dart-sass/dart-sass"
echo "$GITHUB_WORKSPACE/dart-sass" >> "$GITHUB_PATH"
- name: Compile
run: |
cd ./src
make -j3
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: my-artifact
path: |
./src/latex-theme/*