Skip to content

Commit d7c4b51

Browse files
committed
testing win
1 parent 9abc75c commit d7c4b51

File tree

4 files changed

+28
-6
lines changed

4 files changed

+28
-6
lines changed

.github/workflows/build_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build quaddtype wheels for Linux
1+
name: Build linux
22

33
on:
44
push:

.github/workflows/build_macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build quaddtype wheels for macOS
1+
name: Build Macos
22

33
on:
44
push:

.github/workflows/build_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build quaddtype wheels for Windows
1+
name: Build win
22

33
on:
44
push:

.github/workflows/release_and_pypi.yml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,26 @@ on:
99
workflow_dispatch:
1010

1111
jobs:
12+
wait_for_builds:
13+
name: Wait for build workflows
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v3
18+
19+
- name: Wait for other workflows to complete
20+
uses: lewagon/[email protected]
21+
with:
22+
ref: ${{ github.ref }}
23+
check-name: "Build win,Build Macos,Build linux"
24+
repo-token: ${{ secrets.ACCESS_TOKEN }}
25+
wait-interval: 10
26+
1227
publish_to_testpypi:
1328
name: Publish to TestPyPI
29+
needs: wait_for_builds
1430
runs-on: ubuntu-latest
1531
if: startsWith(github.ref, 'refs/tags/')
16-
1732
steps:
1833
- name: Checkout code
1934
uses: actions/checkout@v3
@@ -23,6 +38,10 @@ jobs:
2338
with:
2439
path: dist
2540

41+
- name: Display structure of downloaded files
42+
run: ls -R
43+
working-directory: dist
44+
2645
- name: Publish to TestPyPI
2746
uses: pypa/[email protected]
2847
with:
@@ -33,10 +52,9 @@ jobs:
3352

3453
create_release:
3554
name: Create Release
36-
runs-on: ubuntu-latest
3755
needs: publish_to_testpypi
56+
runs-on: ubuntu-latest
3857
if: startsWith(github.ref, 'refs/tags/')
39-
4058
steps:
4159
- name: Checkout code
4260
uses: actions/checkout@v3
@@ -46,6 +64,10 @@ jobs:
4664
with:
4765
path: artifacts
4866

67+
- name: Display structure of downloaded files
68+
run: ls -R
69+
working-directory: artifacts
70+
4971
- name: Create Release
5072
env:
5173
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}

0 commit comments

Comments
 (0)