Skip to content

Commit

Permalink
👷 github actions: always publish everything on tag creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ericlinagora committed Jul 25, 2024
1 parent 1af6aa7 commit 79a05fb
Showing 1 changed file with 6 additions and 33 deletions.
39 changes: 6 additions & 33 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79a05fb

Please sign in to comment.