From ba38c3994fc3378750539a5d270fe5fb9f32e78e Mon Sep 17 00:00:00 2001 From: Andreas Eisenbarth Date: Fri, 28 Jun 2024 22:20:28 +0200 Subject: [PATCH] Use environment for release --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4482c13..774181a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,10 +48,11 @@ jobs: name: Publish to PyPI if: github.ref_type == 'tag' needs: [tests, linting] + runs-on: ubuntu-latest + environment: release permissions: # IMPORTANT: this permission is mandatory for trusted publishing id-token: write - runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4