Skip to content

Commit

Permalink
Test: build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shizuo-kaji committed Jan 12, 2025
1 parent 5e46599 commit 17b75ec
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ name: Build Wheels
on:
workflow_dispatch:
push:
branches: [main, test-workflow]
#branches: [main, test-workflow]
tags:
- '*'
pull_request:
branches: [main, test-workflow]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -38,7 +36,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest] # [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -72,8 +70,8 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
environment:
name: testpypi #
url: https://test.pypi.org/p/cripser/ # https://pypi.org/p/cripser
name: pypi #
url: https://pypi.org/p/cripser/ # https://pypi.org/p/cripser
permissions:
id-token: write

Expand All @@ -94,5 +92,5 @@ jobs:
path: dist

- uses: pypa/gh-action-pypi-publish@release/v1
with:
repository_url: https://test.pypi.org/legacy/
# with:
# repository_url: https://test.pypi.org/legacy/

0 comments on commit 17b75ec

Please sign in to comment.