Skip to content

Commit

Permalink
Fix workflow cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
quackzar committed Sep 27, 2024
1 parent 2feda8f commit 8fcc424
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/pyo3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@
name: pyo3

on:
push:
workflow_run:
workflows: ["Test Suite"]
types: [completed]
branches:
- main
- master
tags:
- '*'
pull_request:
workflow_dispatch:

permissions:
contents: read
Expand All @@ -39,6 +37,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5

with:
python-version: 3.x
- name: Build wheels
Expand All @@ -48,11 +47,12 @@ jobs:
args: --release --out dist
sccache: 'true'
manylinux: auto
working-directory: pycare
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-linux-${{ matrix.platform.target }}
path: dist
path: pycare/dist

musllinux:
runs-on: ${{ matrix.platform.runner }}
Expand All @@ -79,11 +79,12 @@ jobs:
args: --release --out dist
sccache: 'true'
manylinux: musllinux_1_2
working-directory: pycare
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-musllinux-${{ matrix.platform.target }}
path: dist
path: pycare/dist

windows:
runs-on: ${{ matrix.platform.runner }}
Expand All @@ -106,11 +107,12 @@ jobs:
target: ${{ matrix.platform.target }}
args: --release --out dist
sccache: 'true'
working-directory: pycare
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-windows-${{ matrix.platform.target }}
path: dist
path: pycare/dist

macos:
runs-on: ${{ matrix.platform.runner }}
Expand All @@ -132,11 +134,12 @@ jobs:
target: ${{ matrix.platform.target }}
args: --release --out dist
sccache: 'true'
working-directory: pycare
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-macos-${{ matrix.platform.target }}
path: dist
path: pycare/dist

sdist:
runs-on: ubuntu-latest
Expand All @@ -147,11 +150,12 @@ jobs:
with:
command: sdist
args: --out dist
working-directory: pycare
- name: Upload sdist
uses: actions/upload-artifact@v4
with:
name: wheels-sdist
path: dist
path: pycare/dist

# release:
# name: Release
Expand Down

0 comments on commit 8fcc424

Please sign in to comment.