mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-04 18:00:08 +00:00
ci: try fix path filter
This commit is contained in:
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
||||
id: changes
|
||||
with:
|
||||
filters: |
|
||||
bot: bot: ${ steps.changes.outputs.bot }
|
||||
bot:
|
||||
- "packages/bot/**"
|
||||
gateway:
|
||||
- "packages/gateway/**"
|
||||
@@ -44,8 +44,19 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
package: ["bot", "gateway", "rest", "types", "utils"]
|
||||
run: [false]
|
||||
exclude:
|
||||
- package: bot
|
||||
with: ${{ needs.path-filter.outputs.bot || needs.path-filter.outputs.global }}
|
||||
- package: gateway
|
||||
run: ${{ needs.path-filter.outputs.gateway || needs.path-filter.outputs.global }}
|
||||
- package: rest
|
||||
run: ${{ needs.path-filter.outputs.rest || needs.path-filter.outputs.global }}
|
||||
- package: types
|
||||
run: ${{ needs.path-filter.outputs.types || needs.path-filter.outputs.global }}
|
||||
- package: utils
|
||||
run: ${{ needs.path-filter.outputs.utils || needs.path-filter.outputs.global }}
|
||||
needs: path-filter
|
||||
if: ${{ needs.path-filter.outputs[format('{0}',matrix.package] == 'true' || needs.path-filter.outputs.global }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
|
||||
Reference in New Issue
Block a user