Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dustalov committed Jun 25, 2024
1 parent 73f5271 commit 4523f98
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ jobs:
- os: windows
target: aarch64
runs-on: ${{ (matrix.os == 'linux' && 'ubuntu') || matrix.os }}-latest
environment: test
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down Expand Up @@ -106,6 +103,22 @@ jobs:
with:
name: wheel_${{ matrix.os }}_${{ matrix.target }}_${{ matrix.interpreter || 'all' }}_${{ matrix.manylinux }}
path: dist
pypi:
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
environment:
name: pypi
url: https://test.pypi.org/p/evalica
permissions:
id-token: write
runs-on: ubuntu-latest
needs: build
steps:
- name: Download packages
uses: actions/download-artifact@v3
with:
pattern: wheel_*
merge-multiple: true
path: dist
- name: Publish to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down

0 comments on commit 4523f98

Please sign in to comment.