DEV: Update CI workflows (#25)

Co-authored-by: discoursebuild <build@discourse.org>
This commit is contained in:
discoursebot 2022-12-30 22:38:38 -05:00 committed by GitHub
parent dfbe920c33
commit 02db92a3cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ jobs:
shell: bash
run: |
if [ 0 -lt $(find tmp/component/test -type f \( -name "*.js" -or -name "*.es6" \) 2> /dev/null | wc -l) ]; then
echo "::set-output name=tests_exist::true"
echo "tests_exist=true" >> $GITHUB_OUTPUT
fi
test:
@ -94,7 +94,7 @@ jobs:
- name: Get yarn cache directory
id: yarn-cache-dir
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Yarn cache
uses: actions/cache@v3