From 95de1321b5ec6f95255f0ebdc51feb6ba5b70af0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20=C5=9Aliwi=C5=84ski?= Date: Fri, 19 May 2023 17:50:38 +0200 Subject: [PATCH] Publish package with trusted publishers --- .github/workflows/build.yml | 2 +- .github/workflows/pypi.yml | 4 +--- newsfragments/751.misc.rst | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 newsfragments/751.misc.rst diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a797a913..23b2c1a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,4 +8,4 @@ on: jobs: build: - uses: fizyk/actions-reuse/.github/workflows/pypi.yml@v1.7.1 + uses: fizyk/actions-reuse/.github/workflows/pypi.yml@v2.1.1 diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index b9052bd6..210b4612 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -5,8 +5,6 @@ on: - v* jobs: build-n-publish: - uses: fizyk/actions-reuse/.github/workflows/pypi.yml@v1.7.1 + uses: fizyk/actions-reuse/.github/workflows/pypi.yml@v2.1.1 with: publish: true - secrets: - pypi_token: ${{ secrets.pypi_password }} diff --git a/newsfragments/751.misc.rst b/newsfragments/751.misc.rst new file mode 100644 index 00000000..79c8b8e1 --- /dev/null +++ b/newsfragments/751.misc.rst @@ -0,0 +1 @@ +Use pypi's trusted publishers to publish packages. \ No newline at end of file