From f624352ee178136268e50757caf69ab2a14835c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20Thom=C3=A9?= Date: Mon, 23 Oct 2023 00:57:42 +0200 Subject: [PATCH] Use env context (#13) * Use env context * Inline value --- .github/workflows/ci.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 242fe12..98c34f8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,9 +12,6 @@ on: branches: - main -env: - PACKAGE_NAME: audioscrape - concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -27,13 +24,13 @@ jobs: if: ${{ github.event_name == 'pull_request' }} uses: carlthome/workflows/.github/workflows/python.yaml@main with: - package-name: $PACKAGE_NAME + package-name: audioscrape pre-release: if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/heads/main') }} uses: carlthome/workflows/.github/workflows/python.yaml@main with: - package-name: $PACKAGE_NAME + package-name: audioscrape package-index-name: TestPyPI package-index-url: https://test.pypi.org/legacy @@ -41,6 +38,6 @@ jobs: if: ${{ github.event_name == 'release' && github.event.action == 'published' }} uses: carlthome/workflows/.github/workflows/python.yaml@main with: - package-name: $PACKAGE_NAME + package-name: audioscrape package-index-name: PyPI package-index-url: https://pypi.org