Skip to content

Commit

Permalink
Always check out the embedded compiler along with Dart Sass
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Dec 14, 2022
1 parent 37ddc09 commit 7e96351
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/ci.yml
Expand Up @@ -73,14 +73,20 @@ jobs:
uses: sass/clone-linked-repo@v1
with: {repo: sass/embedded-protocol, default-ref: null}

- name: Check out the embedded compiler
uses: sass/clone-linked-repo@v1
with: {repo: sass/dart-sass-embedded, default-ref: null}

- name: Check out Dart Sass
id: clone-dart-sass
uses: sass/clone-linked-repo@v1
with: {repo: sass/dart-sass, default-ref: null}

- name: Check out the embedded compiler
uses: sass/clone-linked-repo@v1
with:
repo: sass/dart-sass-embedded
# If we check out a specific version of Dart Sass, always check out
# the embedded compiler as well so we can actually use that Dart Sass
# version.
default-ref: ${{ !clone-dart-sass.skip && "main" || null }}

- name: Link the embedded compiler to Dart Sass
run: |
if [[ -d dart-sass ]]; then
Expand Down Expand Up @@ -135,14 +141,20 @@ jobs:
uses: sass/clone-linked-repo@v1
with: {repo: sass/embedded-protocol, default-ref: null}

- name: Check out the embedded compiler
uses: sass/clone-linked-repo@v1
with: {repo: sass/dart-sass-embedded, default-ref: null}

- name: Check out Dart Sass
id: clone-dart-sass
uses: sass/clone-linked-repo@v1
with: {repo: sass/dart-sass, default-ref: null}

- name: Check out the embedded compiler
uses: sass/clone-linked-repo@v1
with:
repo: sass/dart-sass-embedded
# If we check out a specific version of Dart Sass, always check out
# the embedded compiler as well so we can actually use that Dart Sass
# version.
default-ref: ${{ !clone-dart-sass.skip && "main" || null }}

- name: Link the embedded compiler to Dart Sass
run: |
if [[ -d dart-sass ]]; then
Expand Down

0 comments on commit 7e96351

Please sign in to comment.