From fb4592facf94e0ca7f9104f7a71e408d900116d5 Mon Sep 17 00:00:00 2001 From: Charles Treatman Date: Wed, 22 May 2024 09:50:53 -0500 Subject: [PATCH] fix: update release job to build in the correct directory --- .github/workflows/release.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 479d8504..14a7e89b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,8 +6,7 @@ on: workflow_dispatch: env: - PACKAGE_DIR: equinix_metal - DIST_DIR: equinix_metal/dist + DIST_DIR: dist jobs: release: name: Build and publish package @@ -52,9 +51,8 @@ jobs: RELEASE_REQUESTER: "@${{ github.event.sender.login }}" - name: Build package - working-directory: ${{ env.PACKAGE_DIR }} run: | - python -m build --sdist --wheel --outdir dist/ . + python -m build --sdist --wheel --outdir ${{ env.DIST_DIR }} . - name: Publish package uses: pypa/gh-action-pypi-publish@release/v1