Skip to content

Commit 27b00dd

Browse files
Merge pull request #38 from jeromekelleher/drop-macos
Drop macOS classifier.
2 parents 7fc83c6 + a9ace8b commit 27b00dd

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/cd.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
merge_group:
55
push:
66
branches:
7-
- main
7+
- test-publish
88
tags:
99
- '*'
1010
release:
@@ -38,6 +38,7 @@ jobs:
3838
with:
3939
name: python-package-distributions
4040
path: dist/
41+
if-no-files-found: error
4142

4243
publish-to-pypi:
4344
if: github.repository_owner == 'sgkit-dev' && github.event_name == 'release'
@@ -56,11 +57,13 @@ jobs:
5657
with:
5758
name: python-package-distributions
5859
path: dist/
60+
- name: Show artifacts
61+
run: ls -lah dist
5962
- uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
6063

6164

6265
publish-to-testpypi:
63-
if: github.repository_owner == 'sgkit-dev' && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
66+
if: github.repository_owner == 'sgkit-dev' && github.event_name == 'push' && (github.ref_name == 'test-publish' || startsWith(github.event.ref, 'refs/tags'))
6467
needs:
6568
- packaging
6669
runs-on: ubuntu-latest
@@ -77,6 +80,9 @@ jobs:
7780
with:
7881
name: python-package-distributions
7982
path: dist/
83+
- name: Show artifacts
84+
run: ls -lah dist
8085
- uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
8186
with:
87+
verbose: true
8288
repository-url: https://test.pypi.org/legacy/

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ requires-python = ">=3.11"
2020
classifiers = [
2121
"Development Status :: 4 - Beta",
2222
"Operating System :: POSIX :: Linux",
23-
"Operating System :: MacOS :: MacOS X",
2423
"Intended Audience :: Science/Research",
2524
"Programming Language :: Python",
2625
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)