20
20
uses : actions/checkout@v4
21
21
with :
22
22
fetch-depth : 2
23
- ref : ${{ github.event.pull_request.head.ref }}
23
+ repository : ${{ github.event.pull_request.head.repo.full_name }}
24
24
- name : Verify Python Tools Changed
25
25
uses : tj-actions/changed-files@v41
26
26
id : verify-changed-files
47
47
strategy :
48
48
fail-fast : false
49
49
matrix :
50
- os : [windows-latest, macos-latest, ubuntu-20.04, ARM, ARM64 ]
50
+ os : [windows-latest, macos-latest, ubuntu-20.04, ARM]
51
51
include :
52
52
- os : windows-latest
53
53
TARGET : win64
63
63
CONTAINER : python:3.8-bullseye
64
64
TARGET : arm
65
65
SEPARATOR : ' :'
66
- - os : ARM64
67
- CONTAINER : python:3.8-bullseye
68
- TARGET : arm64
69
- SEPARATOR : ' :'
70
66
container : ${{ matrix.CONTAINER }} # use python container on ARM
71
67
env :
72
68
DISTPATH : pytools-${{ matrix.TARGET }}
@@ -88,13 +84,14 @@ jobs:
88
84
done
89
85
- name : Checkout repository
90
86
uses : actions/checkout@v4
87
+ env :
88
+ TOKEN : ${{ secrets.GITHUB_TOKEN }}
91
89
with :
92
- token : ${{ secrets.TOOLS_UPLOAD_PAT }}
93
- ref : ${{ github.event.pull_request.head.ref }}
90
+ token : ${{ env.TOKEN }}
94
91
- name : Set up Python 3.8
95
92
# Skip setting python on ARM because of missing compatibility: https://github.com/actions/setup-python/issues/108
96
- if : matrix.os != 'ARM' && matrix.os != 'ARM64'
97
- uses : actions/setup-python@master
93
+ if : matrix.os != 'ARM'
94
+ uses : actions/setup-python@v5
98
95
with :
99
96
python-version : 3.8
100
97
- name : Install dependencies
0 commit comments