👷 github actions: always publish everything on tag creation
This commit is contained in:
@@ -4,45 +4,18 @@ on:
|
||||
push:
|
||||
tags:
|
||||
- "*.*.*"
|
||||
paths:
|
||||
- "tdrive/backend/node/**"
|
||||
- "tdrive/frontend/**"
|
||||
- "tdrive/connectors/onlyoffice-connector/**"
|
||||
- "tdrive/backend/utils/ldap-sync/**"
|
||||
- "tdrive/backend/utils/nextcloud-migration/**"
|
||||
- "tdrive/docker/**"
|
||||
|
||||
jobs:
|
||||
setup:
|
||||
name: Setup jobs
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
targets: ${{ steps.filter.outputs.changes }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dorny/paths-filter@v3
|
||||
id: filter
|
||||
with:
|
||||
filters: |
|
||||
backend:
|
||||
- "tdrive/backend/node/**"
|
||||
frontend:
|
||||
- "tdrive/frontend/**"
|
||||
onlyoffice-connector:
|
||||
- "tdrive/connectors/onlyoffice-connector/**"
|
||||
ldap-sync:
|
||||
- "tdrive/backend/utils/ldap-sync/**"
|
||||
nextcloud-migration:
|
||||
- "tdrive/backend/utils/nextcloud-migration/**"
|
||||
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
targets: ${{ fromJSON(needs.setup.outputs.targets) }}
|
||||
targets:
|
||||
- backend
|
||||
- frontend
|
||||
- onlyoffice-connector
|
||||
- ldap-sync
|
||||
- nextcloud-migration
|
||||
fail-fast: false
|
||||
needs:
|
||||
- setup
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user