Skip to content

Commit

Permalink
Use clone-linked-repo
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Dec 13, 2022
1 parent a020948 commit f2674b1
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,8 @@ jobs:
with: {sdk: "${{ matrix.dart_channel }}"}

- name: Dart Sass | Checkout
uses: actions/checkout@v2
with:
repository: sass/dart-sass
ref: "${{ startsWith(github.base_ref, 'feature.') && github.base_ref || 'main' }}"
path: dart-sass
uses: sass/clone-linked-repo@v1
with: {repo: sass/dart-sass, path: dart-sass}
- name: Dart Sass | dart pub get
run: dart pub get
working-directory: dart-sass
Expand Down Expand Up @@ -132,11 +129,8 @@ jobs:
with: {sdk: stable}

- name: Dart Sass | Checkout
uses: actions/checkout@v2
with:
repository: sass/dart-sass
ref: "${{ startsWith(github.base_ref, 'feature.') && github.base_ref || 'main' }}"
path: dart-sass
uses: sass/clone-linked-repo@v1
with: {repo: sass/dart-sass, path: dart-sass}
- name: Dart Sass | Install
run: |
dart pub get
Expand Down Expand Up @@ -190,11 +184,8 @@ jobs:
repo-token: '${{ github.token }}'

- name: Node.js Embedded Host | Checkout
uses: actions/checkout@v2
with:
repository: sass/embedded-host-node
ref: "${{ startsWith(github.base_ref, 'feature.') && github.base_ref || 'main' }}"
path: embedded-host-node
uses: sass/clone-linked-repo@v1
with: {repo: sass/embedded-host-node, path: embedded-host-node}
- name: Node.js Embedded Host | Install
run: |
npm install
Expand Down

0 comments on commit f2674b1

Please sign in to comment.