From 7f28db59dd8fb5a114be86db3a81041a5860a590 Mon Sep 17 00:00:00 2001 From: dornech Date: Sun, 24 Nov 2024 02:37:21 +0100 Subject: [PATCH] Test Publishing - erneute Korrekturen Workflows Signed-off-by: dornech --- .github/workflows/build.yml | 9 +++++++-- .github/workflows/documentation.yml | 4 ++++ .github/workflows/draft.yml | 4 ++++ .github/workflows/labeler.yml | 4 ++++ .github/workflows/tests.yml | 4 ++++ 5 files changed, 23 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cab638d..e07a346 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,6 +11,10 @@ jobs: env: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" + - name: Dump context "Event" + env: + EVENT: ${{ toJson(event) }} + run: echo "$EVENT" build-test: runs-on: ${{ matrix.os }} @@ -71,7 +75,7 @@ jobs: needs: build-distribution environment: name: pypi-test - url: https://pypi.org/project/p{{ github.event.repository.name }} + url: https://testpypi.org/project/p{{ github.event.repository.name }} permissions: id-token: write # if: startsWith(github.ref, 'refs/tags/') @@ -87,6 +91,7 @@ jobs: with: packages-dir: dist/ repository-url: https://test.pypi.org/legacy/ + verbose: true # skip-existing: true # user: __token__ # password: ${{ secrets.TEST_PYPI_SECRECT }} @@ -112,6 +117,6 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: packages-dir: dist/ - + verbose: true # user: __token__ # password: ${{ secrets.PYPI_SECRECT }} diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 4bb777b..17a420b 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -30,6 +30,10 @@ jobs: env: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" + - name: Dump context "Event" + env: + EVENT: ${{ toJson(event) }} + run: echo "$EVENT" build-documentation: runs-on: ubuntu-latest diff --git a/.github/workflows/draft.yml b/.github/workflows/draft.yml index 42e3952..88afadd 100644 --- a/.github/workflows/draft.yml +++ b/.github/workflows/draft.yml @@ -14,6 +14,10 @@ jobs: env: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" + - name: Dump context "Event" + env: + EVENT: ${{ toJson(event) }} + run: echo "$EVENT" update-draft: runs-on: ubuntu-latest diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 9a90676..4cdc425 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -21,6 +21,10 @@ jobs: env: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" + - name: Dump context "Event" + env: + EVENT: ${{ toJson(event) }} + run: echo "$EVENT" labeler: runs-on: ubuntu-latest diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 285ab1a..ab38756 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,6 +21,10 @@ jobs: env: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" + - name: Dump context "Event" + env: + EVENT: ${{ toJson(event) }} + run: echo "$EVENT" tests: runs-on: ${{ matrix.os }}