Skip to content

Commit 00bfdd5

Browse files
Xinyu LiXinyu Li
authored andcommitted
wait until released is finished
1 parent a5fafef commit 00bfdd5

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/python_publish.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v4
2525

26-
- name: Sleep for 10m to wait released is completely finished
26+
- name: Sleep for 10m to wait released is completely finished (unix)
2727
if: runner.os != 'Windows'
2828
run: sleep 10m
2929
shell: bash
3030

3131

32-
- name: Sleep for 10m to wait released is completely finished
32+
- name: Sleep for 10m to wait released is completely finished (windows)
3333
if: runner.os == 'Windows'
3434
run: Start-Sleep -s 600
3535
shell: powershell
@@ -111,11 +111,17 @@ jobs:
111111
- uses: actions/checkout@v4
112112

113113

114-
# - name: GitHub Tag Name
115-
# run: |
116-
# echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
117-
# echo "Tag name from github.ref_name: ${{ github.ref_name }}"
118-
# echo ${{ github.event.release.tag_name }}
114+
- name: Sleep for 10m to wait released is completely finished (unix)
115+
if: runner.os != 'Windows'
116+
run: sleep 10m
117+
shell: bash
118+
119+
120+
- name: Sleep for 10m to wait released is completely finished (windows)
121+
if: runner.os == 'Windows'
122+
run: Start-Sleep -s 600
123+
shell: powershell
124+
119125

120126
- uses: robinraju/release-downloader@v1.9
121127
with:

0 commit comments

Comments
 (0)