Skip to content

Commit

Permalink
Merge pull request #3 from Canadian-Light-Source/pypi_release
Browse files Browse the repository at this point in the history
Pypi release
  • Loading branch information
kivel authored Dec 19, 2024
2 parents e6d83dc + 9229794 commit 596bffc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,7 @@ jobs:
name: dist
path: dist

# - name: Publish to PyPI using trusted publishing
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# attestations: false

- name: Publish package distributions to TestPyPI
- name: Publish to PyPI using trusted publishing
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
attestations: false
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
if: needs.check.outputs.branch-pr == ''
strategy:
matrix:
# runs-on: ["ubuntu-latest", "windows-latest", "macos-latest"]
runs-on: ["ubuntu-latest"] # Linux for now
# python-version: ["3.10","3.11","3.12"]
python-version: ["3.12"] # single Python version for now
runs-on: ["ubuntu-latest", "windows-latest", "macos-latest"]
# runs-on: ["ubuntu-latest"] # Linux for now
python-version: ["3.10","3.11","3.12"]
# python-version: ["3.12"] # single Python version for now
fail-fast: false
uses: ./.github/workflows/_test.yml
with:
Expand All @@ -45,5 +45,3 @@ jobs:
if: github.ref_type == 'tag'
needs: dist
uses: ./.github/workflows/_pypi.yml
# permissions:
# id-token: write

0 comments on commit 596bffc

Please sign in to comment.