diff --git a/.github/workflows/dev-build.yml b/.github/workflows/dev-build.yml index 0d451cd..3611445 100644 --- a/.github/workflows/dev-build.yml +++ b/.github/workflows/dev-build.yml @@ -7,6 +7,9 @@ on: pull_request: types: [opened, synchronize, reopened] +env: + DART_SASS_VERSION: 1.79.6 + jobs: compile: runs-on: ubuntu-latest @@ -17,8 +20,8 @@ jobs: uses: robinraju/release-downloader@v1 with: repository: 'sass/dart-sass' - latest: true - fileName: 'dart-sass-*-linux-x64.tar.gz' + tag: ${{ env.DART_SASS_VERSION }} + fileName: "dart-sass-${{ env.DART_SASS_VERSION }}-linux-x64.tar.gz" extract: true - name: Add Binary to PATH run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a639571..90e3933 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,9 @@ on: tags: - v* +env: + DART_SASS_VERSION: 1.79.6 + jobs: release: runs-on: ubuntu-latest @@ -14,8 +17,8 @@ jobs: uses: robinraju/release-downloader@v1 with: repository: 'sass/dart-sass' - latest: true - fileName: 'dart-sass-*-linux-x64.tar.gz' + tag: ${{ env.DART_SASS_VERSION }} + fileName: "dart-sass-${{ env.DART_SASS_VERSION }}-linux-x64.tar.gz" extract: true - name: Add Binary to PATH run: |