-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove stuff to please the ci gods
- Loading branch information
1 parent
970cf62
commit eb13c9b
Showing
4 changed files
with
44 additions
and
155 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
# Publish a release to PyPI. | ||
name: 'Publish to PyPI' | ||
# name: 'Publish to PyPI' | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'gergo/uvSetup' | ||
# on: | ||
# push: | ||
# branches: | ||
# - 'gergo/uvSetup' | ||
|
||
jobs: | ||
pypi-publish: | ||
name: Upload to PyPI | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: release | ||
permissions: | ||
# For PyPI's trusted publishing. | ||
id-token: write | ||
steps: | ||
- name: 'Install uv' | ||
uses: astral-sh/setup-uv@v5 | ||
- uses: actions/checkout@v4 | ||
with: | ||
# This is necessary so that we have the tags. | ||
fetch-depth: 0 | ||
- uses: mtkennerly/dunamai-action@v1 | ||
with: | ||
env-var: MY_VERSION | ||
args: --style semver | ||
- run: echo $MY_VERSION | ||
- name: 'Build artifacts' | ||
run: uv build | ||
- name: Publish to PyPi | ||
run: uv publish --publish-url https://test.pypi.org/simple/ | ||
# jobs: | ||
# pypi-publish: | ||
# name: Upload to PyPI | ||
# runs-on: ubuntu-latest | ||
# environment: | ||
# name: release | ||
# permissions: | ||
# # For PyPI's trusted publishing. | ||
# id-token: write | ||
# steps: | ||
# - name: 'Install uv' | ||
# uses: astral-sh/setup-uv@v5 | ||
# - uses: actions/checkout@v4 | ||
# with: | ||
# # This is necessary so that we have the tags. | ||
# fetch-depth: 0 | ||
# - uses: mtkennerly/dunamai-action@v1 | ||
# with: | ||
# env-var: MY_VERSION | ||
# args: --style semver | ||
# - run: echo $MY_VERSION | ||
# - name: 'Build artifacts' | ||
# run: uv build | ||
# - name: Publish to PyPi | ||
# run: uv publish --publish-url https://test.pypi.org/simple/ | ||
|
||
- name: Test package install | ||
run: uv run --with specklepy --no-project -- python -c "import specklepy" | ||
# - name: Test package install | ||
# run: uv run --with specklepy --no-project -- python -c "import specklepy" |