diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7c4c7dc0..6aaf34fc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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