Skip to content

Commit

Permalink
test full build
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Dec 17, 2024
1 parent b17fb69 commit ab9f3d4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ on:
release:
types: [published]

push:
branches:
- SCHEMACTIC-210-dev

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit ab9f3d4

Please sign in to comment.