|
11 | 11 | description: A custom name for the Checks API-reported status |
12 | 12 | required: false |
13 | 13 | type: string |
14 | | - checkout-ref: |
15 | | - description: A custom repository committish to fetch from Git |
16 | | - required: false |
17 | | - type: string |
18 | | - checkout-repository: |
19 | | - description: A custom repository slug to fetch from Git |
20 | | - required: false |
21 | | - type: string |
22 | 14 | runner-vm-os: |
23 | 15 | description: VM OS to use |
24 | 16 | required: true |
25 | 17 | type: string |
26 | | - store-built-artifacts: |
27 | | - default: false |
28 | | - description: Whether to preserve output as workflow run artifacts |
29 | | - required: false |
30 | | - type: boolean |
31 | 18 | timeout-minutes: |
32 | 19 | description: Deadline for the job to complete |
33 | 20 | required: true |
@@ -63,30 +50,10 @@ jobs: |
63 | 50 | steps: ${{ toJSON(steps) }} |
64 | 51 |
|
65 | 52 | steps: |
66 | | - - name: >- |
67 | | - Fetch CPython source from ${{ |
68 | | - inputs.checkout-repository |
69 | | - && inputs.checkout-repository |
70 | | - || 'Git' |
71 | | - }}${{ |
72 | | - inputs.checkout-ref |
73 | | - && format(' @ {0}', inputs.checkout-ref) |
74 | | - || '' |
75 | | - }} |
| 53 | + - name: Fetch CPython source from Git |
76 | 54 | uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
77 | 55 | with: |
78 | 56 | persist-credentials: false |
79 | | - repository: ${{ inputs.checkout-repository }} |
80 | | - ref: ${{ inputs.checkout-ref }} |
81 | 57 |
|
82 | 58 | - name: Build and test |
83 | 59 | run: ./Android/android.py ci "${ANDROID_CI_SCRIPT_TRIPLET}" |
84 | | - |
85 | | - - name: Upload Built artifacts |
86 | | - if: inputs.store-built-artifacts |
87 | | - id: artifacts |
88 | | - uses: actions/upload-artifact@v4 |
89 | | - with: |
90 | | - name: ${{ env.ANDROID_CI_SCRIPT_TRIPLET }} |
91 | | - path: cross-build/${{ env.ANDROID_CI_SCRIPT_TRIPLET }}/dist/* |
92 | | - if-no-files-found: error |
0 commit comments