-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Sass GitHub action to save built files
- Loading branch information
1 parent
c5668d5
commit 5e1a809
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,15 @@ jobs: | |
run: | | ||
! grep "\$govuk-" .tmp/all.css | ||
- name: Save compiled Sass | ||
uses: actions/[email protected] | ||
if: ${{ !cancelled() }} | ||
continue-on-error: true | ||
with: | ||
name: Dart Sass v1.0.0 output | ||
path: .tmp/all.css | ||
if-no-files-found: ignore | ||
|
||
dart-sass-latest: | ||
name: Dart Sass v1 (latest) | ||
runs-on: ubuntu-latest | ||
|
@@ -80,6 +89,15 @@ jobs: | |
run: | | ||
! grep "\$govuk-" .tmp/all.css | ||
- name: Save compiled Sass | ||
uses: actions/[email protected] | ||
if: ${{ !cancelled() }} | ||
continue-on-error: true | ||
with: | ||
name: Dart Sass v1 (latest) output | ||
path: .tmp/all.css | ||
if-no-files-found: ignore | ||
|
||
# Node Sass v3.4.0 = LibSass v3.3.0 | ||
lib-sass: | ||
name: LibSass v3.3.0 (deprecated) | ||
|
@@ -110,6 +128,15 @@ jobs: | |
run: | | ||
! grep "\$govuk-" .tmp/all.css | ||
- name: Save compiled Sass | ||
uses: actions/[email protected] | ||
if: ${{ !cancelled() }} | ||
continue-on-error: true | ||
with: | ||
name: LibSass v3.3.0 (deprecated) output | ||
path: .tmp/all.css | ||
if-no-files-found: ignore | ||
|
||
# Node Sass v8.x = LibSass v3 latest | ||
lib-sass-latest: | ||
name: LibSass v3 (latest, deprecated) | ||
|
@@ -140,6 +167,15 @@ jobs: | |
run: | | ||
! grep "\$govuk-" .tmp/all.css | ||
- name: Save compiled Sass | ||
uses: actions/[email protected] | ||
if: ${{ !cancelled() }} | ||
continue-on-error: true | ||
with: | ||
name: LibSass v3 (latest, deprecated) output | ||
path: .tmp/all.css | ||
if-no-files-found: ignore | ||
|
||
ruby-sass: | ||
name: Ruby Sass v3.4.0 (deprecated) | ||
runs-on: ubuntu-latest | ||
|
@@ -168,6 +204,15 @@ jobs: | |
run: | | ||
! grep "\$govuk-" .tmp/all.css | ||
- name: Save compiled Sass | ||
uses: actions/[email protected] | ||
if: ${{ !cancelled() }} | ||
continue-on-error: true | ||
with: | ||
name: Ruby Sass v3.4.0 (deprecated) output | ||
path: .tmp/all.css | ||
if-no-files-found: ignore | ||
|
||
ruby-sass-latest: | ||
name: Ruby Sass v3 (latest, deprecated) | ||
runs-on: ubuntu-latest | ||
|
@@ -195,3 +240,12 @@ jobs: | |
- name: Check output | ||
run: | | ||
! grep "\$govuk-" .tmp/all.css | ||
- name: Save compiled Sass | ||
uses: actions/[email protected] | ||
if: ${{ !cancelled() }} | ||
continue-on-error: true | ||
with: | ||
name: Ruby Sass v3 (latest, deprecated) output | ||
path: .tmp/all.css | ||
if-no-files-found: ignore |