ci: fix string and boolean

This commit is contained in:
H01001000
2022-12-04 21:34:15 +08:00
parent b21ee66d58
commit 14b27b65fa
2 changed files with 10 additions and 10 deletions

View File

@@ -47,15 +47,15 @@ jobs:
run: [false]
exclude:
- package: bot
run: ${{ needs.path-filter.outputs.bot || needs.path-filter.outputs.global }}
run: ${{ needs.path-filter.outputs.bot == 'true' || needs.path-filter.outputs.global == 'true' }}
- package: gateway
run: ${{ needs.path-filter.outputs.gateway || needs.path-filter.outputs.global }}
run: ${{ needs.path-filter.outputs.gateway == 'true' || needs.path-filter.outputs.global == 'true' }}
- package: rest
run: ${{ needs.path-filter.outputs.rest || needs.path-filter.outputs.global }}
run: ${{ needs.path-filter.outputs.rest == 'true' || needs.path-filter.outputs.global == 'true' }}
- package: types
run: ${{ needs.path-filter.outputs.types || needs.path-filter.outputs.global }}
run: ${{ needs.path-filter.outputs.types == 'true' || needs.path-filter.outputs.global == 'true' }}
- package: utils
run: ${{ needs.path-filter.outputs.utils || needs.path-filter.outputs.global }}
run: ${{ needs.path-filter.outputs.utils == 'true' || needs.path-filter.outputs.global == 'true' }}
needs: path-filter
steps:
- uses: actions/checkout@v3
@@ -66,7 +66,7 @@ jobs:
scope: "@discordeno"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}

View File

@@ -15,7 +15,7 @@ jobs:
node-version: 18
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -44,7 +44,7 @@ jobs:
node-version: 18
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -73,7 +73,7 @@ jobs:
node-version: 18
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -102,7 +102,7 @@ jobs:
node-version: 18
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}