Skip to content

Commit

Permalink
try publish
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Dec 17, 2024
1 parent 72caab7 commit 9e6d1d1
Showing 1 changed file with 12 additions and 20 deletions.
32 changes: 12 additions & 20 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,25 +59,17 @@ jobs:
permissions:
id-token: write
steps:
- name: debug prerelease
run: |
echo "prerelease: ${{ github.event.release.prerelease }}"
echo "env.name: ${{ env.name }}"
echo "name: ${{ github.event.release.prerelease == true && 'testpypi' || 'pypi' }}"
echo "env.url: ${{ env.url }}"
echo "url: ${{ github.event.release.prerelease == true && 'https://test.pypi.org/p/schematicpy' || 'https://pypi.org/p/schematicpy' }}"
# - name: download-sdist
# uses: actions/download-artifact@v4
# with:
# name: ${{ needs.build.outputs.sdist-package-name }}
# path: dist
- name: download-sdist
uses: actions/download-artifact@v4
with:
name: ${{ needs.build.outputs.sdist-package-name }}
path: dist

# - name: download-bdist
# uses: actions/download-artifact@v4
# with:
# name: ${{ needs.build.outputs.bdist-package-name }}
# path: dist
- name: download-bdist
uses: actions/download-artifact@v4
with:
name: ${{ needs.build.outputs.bdist-package-name }}
path: dist

# - name: deploy-to-test-pypi
# uses: pypa/gh-action-pypi-publish@release/v1
- name: deploy-to-test-pypi
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 9e6d1d1

Please sign in to comment.