Skip to content

Commit 69081d6

Browse files
committed
BLD: Update GitHub actions
1 parent 471dd3b commit 69081d6

2 files changed

Lines changed: 11 additions & 14 deletions

File tree

.github/workflows/build.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@ jobs:
3838
uses: actions/setup-python@v5
3939
with:
4040
python-version: ${{ matrix.python-version }}
41-
architecture: ${{ matrix.arch }}
4241

4342
- name: Build wheels
44-
uses: messense/maturin-action@v1
43+
uses: PyO3/maturin-action@v1
4544
with:
4645
target: x86_64
4746
args: --release --out dist --manifest-path python/Cargo.toml --interpreter python${{ matrix.python-version }}
@@ -91,7 +90,7 @@ jobs:
9190
python-version: ${{ matrix.python-version }}
9291

9392
- name: Build wheels
94-
uses: messense/maturin-action@v1
93+
uses: PyO3/maturin-action@v1
9594
with:
9695
target: aarch64
9796
manylinux: auto
@@ -138,13 +137,13 @@ jobs:
138137
python-version: ${{ matrix.python-version }}
139138

140139
- name: Build wheels - x86_64
141-
uses: messense/maturin-action@v1
140+
uses: PyO3/maturin-action@v1
142141
with:
143142
target: x86_64
144143
args: --release --out dist --manifest-path python/Cargo.toml --interpreter python${{ matrix.python-version }}
145144

146145
- name: Build wheels - universal2
147-
uses: messense/maturin-action@v1
146+
uses: PyO3/maturin-action@v1
148147
with:
149148
args: --release --target universal2-apple-darwin --out dist --manifest-path python/Cargo.toml --interpreter python${{ matrix.python-version }}
150149

.github/workflows/release.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
tag-release:
13-
if: ${{ github.event.workflow_run.conclusion == 'success' }} || ${{ github.event.workflow_dispatch }}
13+
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
1414
name: tag-release - Python 3.12 (ubuntu-latest)
1515
runs-on: ubuntu-latest
1616
outputs:
@@ -34,7 +34,7 @@ jobs:
3434
# Create GitHub release
3535
- name: Create release
3636
id: create-release
37-
uses: softprops/action-gh-release@v1
37+
uses: softprops/action-gh-release@v2
3838
with:
3939
name: ${{ env.RELEASE_NAME }}
4040
tag_name: ${{ env.TAG_NAME }}
@@ -73,13 +73,13 @@ jobs:
7373
python-version: ${{ matrix.python-version }}
7474

7575
- name: Build wheels - x86_64
76-
uses: messense/maturin-action@v1
76+
uses: PyO3/maturin-action@v1
7777
with:
7878
target: x86_64
7979
args: --release --out dist --manifest-path python/Cargo.toml --interpreter python${{ matrix.python-version }}
8080

8181
- name: Build wheels - universal2
82-
uses: messense/maturin-action@v1
82+
uses: PyO3/maturin-action@v1
8383
with:
8484
args: --release --target universal2-apple-darwin --out dist --manifest-path python/Cargo.toml --interpreter python${{ matrix.python-version }}
8585

@@ -121,7 +121,7 @@ jobs:
121121
architecture: x64
122122

123123
- name: Build wheels
124-
uses: messense/maturin-action@v1
124+
uses: PyO3/maturin-action@v1
125125
with:
126126
target: x64
127127
args: --release --out dist --manifest-path python/Cargo.toml --interpreter python${{ matrix.python-version }}
@@ -164,7 +164,7 @@ jobs:
164164
python-version: ${{ matrix.python-version }}
165165

166166
- name: Build wheels
167-
uses: messense/maturin-action@v1
167+
uses: PyO3/maturin-action@v1
168168
with:
169169
target: ${{ matrix.target }}
170170
manylinux: auto
@@ -208,7 +208,7 @@ jobs:
208208
python-version: ${{ matrix.python-version }}
209209

210210
- name: Build wheels
211-
uses: messense/maturin-action@v1
211+
uses: PyO3/maturin-action@v1
212212
with:
213213
target: ${{ matrix.target }}
214214
manylinux: musllinux_1_2
@@ -304,8 +304,6 @@ jobs:
304304
target: x86_64-unknown-linux-musl
305305
- os: macos-latest
306306
target: x86_64-apple-darwin
307-
- os: macos-latest
308-
target: x86_64-apple-darwin
309307
- os: macos-latest
310308
target: aarch64-apple-darwin
311309
- os: windows-latest

0 commit comments

Comments
 (0)