Skip to content

Commit

Permalink
ci:jest jobs need build job
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Apr 3, 2024
1 parent a285ee0 commit 5ab21ba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pushDev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ jobs:
- name: Create global cache key
id: global-cache-key
run: >-
echo "global-cache-key=${{ github.base_ref }}-${{ runner.os
}}-$(/bin/date -u "+%m%d")-${{ vars.RANDOM_CACHE_KEY_SUFFIX }}" >>
$GITHUB_OUTPUT
echo "global-cache-key=dev-${{ runner.os }}-$(/bin/date -u
"+%m%d")-${{ vars.RANDOM_CACHE_KEY_SUFFIX }}" >> $GITHUB_OUTPUT
- name: Create workflow run cache key
id: run-cache-key
run: >-
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/pushNext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ jobs:
- name: Create global cache key
id: global-cache-key
run: >-
echo "global-cache-key=${{ github.base_ref }}-${{ runner.os
}}-$(/bin/date -u "+%m%d")-${{ vars.RANDOM_CACHE_KEY_SUFFIX }}" >>
$GITHUB_OUTPUT
echo "global-cache-key=next-${{ runner.os }}-$(/bin/date -u
"+%m%d")-${{ vars.RANDOM_CACHE_KEY_SUFFIX }}" >> $GITHUB_OUTPUT
- name: Create workflow run cache key
id: run-cache-key
run: >-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wac/push.wac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ const createPushWorkflow = (branchName: string) => {
{
name: "Create global cache key",
id: "global-cache-key",
run: 'echo "global-cache-key=${{ github.base_ref }}-${{ runner.os }}-$(/bin/date -u "+%m%d")-${{ vars.RANDOM_CACHE_KEY_SUFFIX }}" >> $GITHUB_OUTPUT'
run: `echo "global-cache-key=${branchName}-\${{ runner.os }}-$(/bin/date -u "+%m%d")-\${{ vars.RANDOM_CACHE_KEY_SUFFIX }}" >> $GITHUB_OUTPUT`
},
{
name: "Create workflow run cache key",
Expand Down

0 comments on commit 5ab21ba

Please sign in to comment.