-
Notifications
You must be signed in to change notification settings - Fork 320
35 lines (33 loc) · 891 Bytes
/
release.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
name: Release
on:
create:
tags:
- v*
env:
DART_SASS_VERSION: 1.79.6
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- 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: |
echo "$GITHUB_WORKSPACE/dart-sass" >> "$GITHUB_PATH"
- name: Compile
run: |
cd ./src; make all-and-compress
- name: Release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
prerelease: false
files: |
./src/latex-theme/*.zip