Skip to content

Commit

Permalink
leoc
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp committed Jan 12, 2024
1 parent 7776d48 commit 65c56bb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ runs:
using: composite
steps:
- name: Read current GitHub Actions cache version
shell: bash -l
shell: bash -leoc {0}
run: |
echo "CACHE_VERSION=$(< .github/.cache_version)" >> $GITHUB_ENV
# JavaScript for monorepo and tooling
- name: Get yarn cache directory path
shell: bash -l
shell: bash -leoc {0}
id: yarn-cache-dir
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

Expand All @@ -35,17 +35,17 @@ runs:
key: node-modules-${{ env.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}

- name: Install JavaScript dependencies
shell: bash -l
shell: bash -leoc {0}
run: yarn install

- name: Build scripts
shell: bash -l
shell: bash -leoc {0}
run: yarn workspace scripts build:cli

# JavaScript client deps
- name: Get yarn js-client cache directory path
if: ${{ inputs.javascript-utils == 'true' }}
shell: bash -l
shell: bash -leoc {0}
id: yarn-cache-dir-client
run: echo "dir=$(cd clients/algoliasearch-client-javascript && yarn config get cacheFolder)" >> $GITHUB_OUTPUT

Expand All @@ -66,5 +66,5 @@ runs:

- name: Install JavaScript client dependencies
if: ${{ inputs.javascript-utils == 'true' }}
shell: bash -l
shell: bash -leoc {0}
run: cd clients/algoliasearch-client-javascript && YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install
10 changes: 5 additions & 5 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:

defaults:
run:
shell: bash -l
shell: bash -leoc {0}eoc {0}

# Uncomment the line below to enable artifacts debugging
# env:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
# Computing jobs that should run
- name: Setting diff outputs variables
id: diff
shell: bash -l
shell: bash -leoc {0}
run: |
previousCommit=${{ github.event.before }}
baseRef=${{ github.base_ref }}
Expand All @@ -59,12 +59,12 @@ jobs:
- name: Compute specs matrix
id: spec-matrix
shell: bash -l
shell: bash -leoc {0}
run: yarn workspace scripts createMatrix ${{ steps.diff.outputs.ORIGIN_BRANCH }}

- name: Compute the client codegen matrix
id: gen-matrix
shell: bash -l
shell: bash -leoc {0}
run: yarn workspace scripts createMatrix ${{ steps.diff.outputs.ORIGIN_BRANCH }} clients

- name: check that custom actions are built
Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:

# JavaScript test deps (needs to be cached because they are huge and inefficient)
- name: Get yarn js test cache directory path
shell: bash -l
shell: bash -leoc {0}
id: yarn-cache-dir-tests
run: echo "dir=$(cd tests/output/javascript && yarn config get cacheFolder)" >> $GITHUB_OUTPUT

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

defaults:
run:
shell: bash -l
shell: bash -leoc {0}

jobs:
notification:
Expand Down

0 comments on commit 65c56bb

Please sign in to comment.