From 5229be7a7d475783324ca5602fbe6896d370dd63 Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 29 May 2024 16:29:27 -0500 Subject: [PATCH] ci: trusted publishing (#40) * trusted publishing * wip --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0362e8..ee3ce09 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,6 +10,8 @@ on: jobs: build: runs-on: ubuntu-22.04 + permissions: + id-token: write steps: - uses: actions/checkout@v3 @@ -52,6 +54,3 @@ jobs: - uses: pypa/gh-action-pypi-publish@release/v1 if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') - with: - user: __token__ - password: ${{ secrets.DEEPHAVENIPYWIDGETS_PYPI_TOKEN }}