chore: make compatible with dart-sass #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |