Skip to content

Commit 66aa3fd

Browse files
committed
Drop tweakable src+artifact inputs from workflows
1 parent 29fe94d commit 66aa3fd

File tree

1 file changed

+1
-34
lines changed

1 file changed

+1
-34
lines changed

.github/workflows/reusable-android.yml

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,10 @@ on:
1111
description: A custom name for the Checks API-reported status
1212
required: false
1313
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
2214
runner-vm-os:
2315
description: VM OS to use
2416
required: true
2517
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
3118
timeout-minutes:
3219
description: Deadline for the job to complete
3320
required: true
@@ -63,30 +50,10 @@ jobs:
6350
steps: ${{ toJSON(steps) }}
6451

6552
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
7654
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
7755
with:
7856
persist-credentials: false
79-
repository: ${{ inputs.checkout-repository }}
80-
ref: ${{ inputs.checkout-ref }}
8157

8258
- name: Build and test
8359
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

Comments
 (0)