Skip to content

Commit 2b7e807

Browse files
committed
31 | Update test workflow
1 parent d7338af commit 2b7e807

File tree

5 files changed

+14
-16
lines changed

5 files changed

+14
-16
lines changed

.github/workflows/deploy-docs.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ jobs:
1616
environment: github-pages
1717

1818
steps:
19-
- name: Checkout Repository
20-
uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2120

2221
- name: Setup Python
2322
uses: actions/setup-python@v4

.github/workflows/publish-to-pypi.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ jobs:
1212
os: [ubuntu-latest, windows-latest, macos-latest]
1313

1414
steps:
15-
- name: Checkout code
16-
uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1716

1817
- name: Set up Python
1918
uses: actions/setup-python@v4

.github/workflows/test-lib-building.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ jobs:
1414
os: [ubuntu-latest, windows-latest, macos-latest]
1515

1616
steps:
17-
- name: Checkout code
18-
uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1918

2019
- name: Set up Python
2120
uses: actions/setup-python@v4

.github/workflows/test-publish-to-pypi.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Publish to PyPI
22

33
on:
4-
release:
5-
types: [published]
4+
push:
5+
branches:
6+
- main
67

78
jobs:
89
build:
@@ -12,8 +13,7 @@ jobs:
1213
os: [ubuntu-latest, windows-latest, macos-latest]
1314

1415
steps:
15-
- name: Checkout code
16-
uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717

1818
- name: Set up Python
1919
uses: actions/setup-python@v4
@@ -29,7 +29,7 @@ jobs:
2929
run: cibuildwheel --output-dir wheelhouse
3030

3131
- name: Upload wheels
32-
uses: actions/upload-artifact@v3
32+
uses: actions/upload-artifact@v4
3333
with:
3434
name: wheels-${{ matrix.os }}
3535
path: wheelhouse/
@@ -40,15 +40,17 @@ jobs:
4040

4141
steps:
4242
- name: Download wheels
43-
uses: actions/download-artifact@v3
43+
uses: actions/download-artifact@v4
4444
with:
4545
name: wheels-ubuntu-latest
46+
4647
- name: Download wheels
47-
uses: actions/download-artifact@v3
48+
uses: actions/download-artifact@v4
4849
with:
4950
name: wheels-windows-latest
51+
5052
- name: Download wheels
51-
uses: actions/download-artifact@v3
53+
uses: actions/download-artifact@v4
5254
with:
5355
name: wheels-macos-latest
5456

.github/workflows/test_env.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- name: Checkout code
15-
uses: actions/checkout@v4
14+
- uses: actions/checkout@v4
1615

1716
- name: Cache Docker layers
1817
uses: actions/cache@v4

0 commit comments

Comments
 (0)