From 5fe1494b12f997b913ce83c3da456bdd42d370a7 Mon Sep 17 00:00:00 2001 From: Ramin Gharib Date: Thu, 25 Jan 2024 08:50:23 +0100 Subject: [PATCH 1/6] Update poetry publish workflow actions to newest version --- .github/workflows/python-poetry-publish-snapshot.yaml | 2 +- actions/python-poetry-publish-pypi/action.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-poetry-publish-snapshot.yaml b/.github/workflows/python-poetry-publish-snapshot.yaml index 054b025bd..b61678ad4 100644 --- a/.github/workflows/python-poetry-publish-snapshot.yaml +++ b/.github/workflows/python-poetry-publish-snapshot.yaml @@ -60,7 +60,7 @@ jobs: working-directory: ${{ inputs.working-directory }} - name: Build and publish package to TestPyPI - uses: bakdata/ci-templates/actions/python-poetry-publish-pypi@v1.23.0 + uses: bakdata/ci-templates/actions/python-poetry-publish-pypi@main with: pypi-token: ${{ secrets.pypi-token }} publish-to-test: "true" diff --git a/actions/python-poetry-publish-pypi/action.yaml b/actions/python-poetry-publish-pypi/action.yaml index bb50d1600..f386ddb9e 100644 --- a/actions/python-poetry-publish-pypi/action.yaml +++ b/actions/python-poetry-publish-pypi/action.yaml @@ -30,7 +30,7 @@ runs: shell: bash - name: Publish package to ${{ steps.index.outputs.index-name }} - uses: bakdata/ci-templates/actions/python-poetry-publish@v1.23.0 + uses: bakdata/ci-templates/actions/python-poetry-publish@main with: index-name: ${{ steps.index.outputs.index-name }} index-url: ${{ steps.index.outputs.index-url }} From fec517443abf37daf38c3ebe0b0fdbbf86ece1c2 Mon Sep 17 00:00:00 2001 From: Ramin Gharib Date: Thu, 25 Jan 2024 08:58:24 +0100 Subject: [PATCH 2/6] change ref --- .github/workflows/python-poetry-publish-snapshot.yaml | 2 +- actions/python-poetry-publish-pypi/action.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-poetry-publish-snapshot.yaml b/.github/workflows/python-poetry-publish-snapshot.yaml index b61678ad4..29cd914cc 100644 --- a/.github/workflows/python-poetry-publish-snapshot.yaml +++ b/.github/workflows/python-poetry-publish-snapshot.yaml @@ -60,7 +60,7 @@ jobs: working-directory: ${{ inputs.working-directory }} - name: Build and publish package to TestPyPI - uses: bakdata/ci-templates/actions/python-poetry-publish-pypi@main + uses: bakdata/ci-templates/actions/python-poetry-publish-pypi@test/python-poetry-snapshot with: pypi-token: ${{ secrets.pypi-token }} publish-to-test: "true" diff --git a/actions/python-poetry-publish-pypi/action.yaml b/actions/python-poetry-publish-pypi/action.yaml index f386ddb9e..37d97e74b 100644 --- a/actions/python-poetry-publish-pypi/action.yaml +++ b/actions/python-poetry-publish-pypi/action.yaml @@ -30,7 +30,7 @@ runs: shell: bash - name: Publish package to ${{ steps.index.outputs.index-name }} - uses: bakdata/ci-templates/actions/python-poetry-publish@main + uses: bakdata/ci-templates/actions/python-poetry-publish@test/python-poetry-snapshot with: index-name: ${{ steps.index.outputs.index-name }} index-url: ${{ steps.index.outputs.index-url }} From 187ef613faf69331de6205e2f96084d9ea60ab2d Mon Sep 17 00:00:00 2001 From: Ramin Gharib Date: Thu, 25 Jan 2024 09:08:52 +0100 Subject: [PATCH 3/6] remove concurrency --- .github/workflows/python-poetry-publish-snapshot.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-poetry-publish-snapshot.yaml b/.github/workflows/python-poetry-publish-snapshot.yaml index 29cd914cc..b0cd02303 100644 --- a/.github/workflows/python-poetry-publish-snapshot.yaml +++ b/.github/workflows/python-poetry-publish-snapshot.yaml @@ -33,9 +33,9 @@ on: description: "The old version of the package." value: ${{ jobs.publish-snapshot.outputs.old-version }} -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-python-poetry-publish-snapshot - cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }} +# concurrency: +# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-python-poetry-publish-snapshot +# cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }} jobs: publish-snapshot: From 97c09636232f90bfc5ad0a2ed2fe83b5bb4d87e6 Mon Sep 17 00:00:00 2001 From: Ramin Gharib Date: Thu, 25 Jan 2024 09:14:00 +0100 Subject: [PATCH 4/6] revert concurrency --- .github/workflows/python-poetry-publish-snapshot.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-poetry-publish-snapshot.yaml b/.github/workflows/python-poetry-publish-snapshot.yaml index b0cd02303..29cd914cc 100644 --- a/.github/workflows/python-poetry-publish-snapshot.yaml +++ b/.github/workflows/python-poetry-publish-snapshot.yaml @@ -33,9 +33,9 @@ on: description: "The old version of the package." value: ${{ jobs.publish-snapshot.outputs.old-version }} -# concurrency: -# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-python-poetry-publish-snapshot -# cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }} +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-python-poetry-publish-snapshot + cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }} jobs: publish-snapshot: From 86ba1141f43fdf3f6ff89bb1ea08988f803e3edb Mon Sep 17 00:00:00 2001 From: Ramin Gharib Date: Thu, 25 Jan 2024 09:31:44 +0100 Subject: [PATCH 5/6] update to newest tag --- .github/workflows/python-poetry-publish-snapshot.yaml | 2 +- actions/python-poetry-publish-pypi/action.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-poetry-publish-snapshot.yaml b/.github/workflows/python-poetry-publish-snapshot.yaml index 29cd914cc..b624e7372 100644 --- a/.github/workflows/python-poetry-publish-snapshot.yaml +++ b/.github/workflows/python-poetry-publish-snapshot.yaml @@ -60,7 +60,7 @@ jobs: working-directory: ${{ inputs.working-directory }} - name: Build and publish package to TestPyPI - uses: bakdata/ci-templates/actions/python-poetry-publish-pypi@test/python-poetry-snapshot + uses: bakdata/ci-templates/actions/python-poetry-publish-pypi@1.40.3 with: pypi-token: ${{ secrets.pypi-token }} publish-to-test: "true" diff --git a/actions/python-poetry-publish-pypi/action.yaml b/actions/python-poetry-publish-pypi/action.yaml index 37d97e74b..a6c34e9c1 100644 --- a/actions/python-poetry-publish-pypi/action.yaml +++ b/actions/python-poetry-publish-pypi/action.yaml @@ -30,7 +30,7 @@ runs: shell: bash - name: Publish package to ${{ steps.index.outputs.index-name }} - uses: bakdata/ci-templates/actions/python-poetry-publish@test/python-poetry-snapshot + uses: bakdata/ci-templates/actions/python-poetry-publish@1.40.3 with: index-name: ${{ steps.index.outputs.index-name }} index-url: ${{ steps.index.outputs.index-url }} From ab7cc682284fa660ff0aa0ab71c70d7dcb641f2e Mon Sep 17 00:00:00 2001 From: Ramin Gharib Date: Thu, 25 Jan 2024 09:34:36 +0100 Subject: [PATCH 6/6] update to latest version --- .github/workflows/python-poetry-publish-snapshot.yaml | 2 +- actions/python-poetry-publish-pypi/action.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-poetry-publish-snapshot.yaml b/.github/workflows/python-poetry-publish-snapshot.yaml index b624e7372..961c984c9 100644 --- a/.github/workflows/python-poetry-publish-snapshot.yaml +++ b/.github/workflows/python-poetry-publish-snapshot.yaml @@ -60,7 +60,7 @@ jobs: working-directory: ${{ inputs.working-directory }} - name: Build and publish package to TestPyPI - uses: bakdata/ci-templates/actions/python-poetry-publish-pypi@1.40.3 + uses: bakdata/ci-templates/actions/python-poetry-publish-pypi@1.40.4 with: pypi-token: ${{ secrets.pypi-token }} publish-to-test: "true" diff --git a/actions/python-poetry-publish-pypi/action.yaml b/actions/python-poetry-publish-pypi/action.yaml index a6c34e9c1..ab8fb54ca 100644 --- a/actions/python-poetry-publish-pypi/action.yaml +++ b/actions/python-poetry-publish-pypi/action.yaml @@ -30,7 +30,7 @@ runs: shell: bash - name: Publish package to ${{ steps.index.outputs.index-name }} - uses: bakdata/ci-templates/actions/python-poetry-publish@1.40.3 + uses: bakdata/ci-templates/actions/python-poetry-publish@1.40.4 with: index-name: ${{ steps.index.outputs.index-name }} index-url: ${{ steps.index.outputs.index-url }}