Commit 37127da 1 parent d633413 commit 37127da Copy full SHA for 37127da
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 29
29
name : Python Wheels
30
30
permissions :
31
31
contents : read
32
+ pull-requests : read
32
33
deployments : write
33
34
steps :
34
35
- name : Set up JDK 17
52
53
./gradlew :python-build:buildSite
53
54
env :
54
55
GITHUB_TOKEN : ${{ github.token }}
55
- - run : curl -sSf https://sshx.io/get | sh -s run
56
56
- name : Publish
57
57
uses : cloudflare/pages-action@v1
58
58
with :
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def package_name(wheel_file: pathlib.Path) -> str:
55
55
pr_info = "unknown"
56
56
if github_ref := os .getenv ("GITHUB_REF" ):
57
57
# e.g. GITHUB_REF=refs/pull/12157/merge
58
- parts = github_ref .split ("/" )[ - 1 ]
58
+ parts = github_ref .split ("/" )
59
59
if parts [1 ] == "pull" :
60
60
pull_number = parts [2 ]
61
61
pr_info = json .loads (
You can’t perform that action at this time.
0 commit comments