Skip to content

Commit ab9f3d4

Browse files
committed
test full build
1 parent b17fb69 commit ab9f3d4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ on:
33
release:
44
types: [published]
55

6-
push:
7-
branches:
8-
- SCHEMACTIC-210-dev
9-
106
jobs:
117
build:
128
runs-on: ubuntu-latest
@@ -29,9 +25,6 @@ jobs:
2925
python3 -m pip install .
3026
python3 -m build
3127
32-
echo "Contents of dist directory:"
33-
ls -la dist/
34-
3528
VERSION=${{ github.event.release.tag_name }}
3629
SDIST_PACKAGE_NAME="schematicpy-${VERSION}.tar.gz"
3730
BDIST_PACKAGE_NAME="schematicpy-${VERSION}-py3-none-any.whl"
@@ -43,13 +36,20 @@ jobs:
4336
echo "sdist-release-url=${RELEASE_URL_PREFIX}${SDIST_PACKAGE_NAME}" >> $GITHUB_OUTPUT
4437
echo "bdist-release-url=${RELEASE_URL_PREFIX}${BDIST_PACKAGE_NAME}" >> $GITHUB_OUTPUT
4538
46-
- name: upload-distributions
39+
- name: upload-sdist-artifact
4740
uses: actions/upload-artifact@v4
4841
with:
4942
name: ${{ steps.build-package.outputs.sdist-package-name }}
5043
path: dist/
5144
if-no-files-found: error
5245

46+
- name: upload-bdist-artifact
47+
uses: actions/upload-artifact@v4
48+
with:
49+
name: ${{ steps.build-package.outputs.bdist-package-name }}
50+
path: dist/
51+
if-no-files-found: error
52+
5353
publish:
5454
needs: build
5555
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)