From 79a05fb69b3f9f16e2d6b35a7f6ca0b1ef253129 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Thu, 25 Jul 2024 15:01:00 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20github=20actions:=20always=20pub?= =?UTF-8?q?lish=20everything=20on=20tag=20creation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 39 ++++++----------------------------- 1 file changed, 6 insertions(+), 33 deletions(-) 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