From ab9f3d42e40b2cb956f01d8d6a59de0b3e468736 Mon Sep 17 00:00:00 2001 From: bwmac Date: Tue, 17 Dec 2024 10:58:42 -0500 Subject: [PATCH] test full build --- .github/workflows/publish.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b660ef146..83a5562c0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,10 +3,6 @@ on: release: types: [published] - push: - branches: - - SCHEMACTIC-210-dev - jobs: build: runs-on: ubuntu-latest @@ -29,9 +25,6 @@ jobs: python3 -m pip install . python3 -m build - echo "Contents of dist directory:" - ls -la dist/ - VERSION=${{ github.event.release.tag_name }} SDIST_PACKAGE_NAME="schematicpy-${VERSION}.tar.gz" BDIST_PACKAGE_NAME="schematicpy-${VERSION}-py3-none-any.whl" @@ -43,13 +36,20 @@ jobs: echo "sdist-release-url=${RELEASE_URL_PREFIX}${SDIST_PACKAGE_NAME}" >> $GITHUB_OUTPUT echo "bdist-release-url=${RELEASE_URL_PREFIX}${BDIST_PACKAGE_NAME}" >> $GITHUB_OUTPUT - - name: upload-distributions + - name: upload-sdist-artifact uses: actions/upload-artifact@v4 with: name: ${{ steps.build-package.outputs.sdist-package-name }} path: dist/ if-no-files-found: error + - name: upload-bdist-artifact + uses: actions/upload-artifact@v4 + with: + name: ${{ steps.build-package.outputs.bdist-package-name }} + path: dist/ + if-no-files-found: error + publish: needs: build runs-on: ubuntu-latest