From b82bc8d30fd738dac788b3961b549faf011996b4 Mon Sep 17 00:00:00 2001 From: Parisa Tejari Date: Tue, 24 Sep 2024 09:31:36 +0200 Subject: [PATCH] change the version --- .github/workflows/package.yml | 83 +++++++++++++++++------------------ 1 file changed, 40 insertions(+), 43 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 781fda2a..5d9fed75 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -2,59 +2,56 @@ name: Publish on: push: jobs: - detect_changes: - runs-on: ubuntu-latest - outputs: - outputs: - lega-commander: ${{ steps.changes.outputs.lega-commander }} - e2eTests: ${{ steps.changes.outputs.e2eTests }} - clearinghouse: ${{ steps.changes.outputs.clearinghouse }} - crypt4gh: ${{ steps.changes.outputs.crypt4gh }} - tsd-file-api-client: ${{ steps.changes.outputs.tsd-file-api-client }} - cega-mock: ${{ steps.changes.outputs.cega-mock }} - localega-tsd-proxy: ${{ steps.changes.outputs.localega-tsd-proxy }} - mq-interceptor: ${{ steps.changes.outputs.mq-interceptor }} - tsd-api-mock: ${{ steps.changes.outputs.tsd-api-mock }} - steps: - - uses: actions/checkout@v4 - - uses: dorny/paths-filter@v3 - id: changes - with: - filters: | - lega-commander: - - 'cli/lega-commander/**' - e2eTests: - - 'e2eTests/**' - clearinghouse: - - 'lib/clearinghouse/**' - crypt4gh: - - 'lib/crypt4gh/**' - tsd-file-api-client: - - 'lib/tsd-file-api-client/**' - cega-mock: - - 'services/cega-mock/**' - localega-tsd-proxy: - - 'services/localega-tsd-proxy/**' - mq-interceptor: - - 'services/mq-interceptor/**' - tsd-api-mock: - - 'services/tsd-api-mock/**' +# detect_changes: +# runs-on: ubuntu-latest +# outputs: +# outputs: +# lega-commander: ${{ steps.changes.outputs.lega-commander }} +# e2eTests: ${{ steps.changes.outputs.e2eTests }} +# clearinghouse: ${{ steps.changes.outputs.clearinghouse }} +# crypt4gh: ${{ steps.changes.outputs.crypt4gh }} +# tsd-file-api-client: ${{ steps.changes.outputs.tsd-file-api-client }} +# cega-mock: ${{ steps.changes.outputs.cega-mock }} +# localega-tsd-proxy: ${{ steps.changes.outputs.localega-tsd-proxy }} +# mq-interceptor: ${{ steps.changes.outputs.mq-interceptor }} +# tsd-api-mock: ${{ steps.changes.outputs.tsd-api-mock }} +# steps: +# - uses: actions/checkout@v4 +# - uses: dorny/paths-filter@v3 +# id: changes +# with: +# filters: | +# lega-commander: +# - 'cli/lega-commander/**' +# e2eTests: +# - 'e2eTests/**' +# clearinghouse: +# - 'lib/clearinghouse/**' +# crypt4gh: +# - 'lib/crypt4gh/**' +# tsd-file-api-client: +# - 'lib/tsd-file-api-client/**' +# cega-mock: +# - 'services/cega-mock/**' +# localega-tsd-proxy: +# - 'services/localega-tsd-proxy/**' +# mq-interceptor: +# - 'services/mq-interceptor/**' +# tsd-api-mock: +# - 'services/tsd-api-mock/**' generate_matrix: - needs: detect_changes +# needs: detect_changes runs-on: ubuntu-latest steps: - name: Generate matrix id: matrix run: | - matrix='["a"]' - if [ "${{ needs.detect_changes.outputs.clearinghouse }}" == "true" ]; then + matrix='[]' + if [ "true" == "true" ]; then matrix=$(echo $matrix | jq '. += ["clearinghouse"]') fi - if [ "${{ needs.detect_changes.outputs.tsd-file-api-client }}" == "true" ]; then - matrix=$(echo $matrix | jq '. += ["tsd-file-api-client"]') - fi echo "matrix=$matrix" >> $GITHUB_OUTPUT - name: print run: echo ${{ steps.matrix.outputs.matrix }}