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