|
1 | 1 | name: git-artifacts |
2 | | -run-name: Build git-artifacts (${{ inputs.artifacts != '' && format('{0} ', inputs.artifacts) || '' }}${{ inputs.architecture }}) |
| 2 | +run-name: Build git-artifacts (installer portable archive mingit mingit-busybox i686) |
3 | 3 |
|
4 | 4 | on: |
5 | | - workflow_dispatch: |
6 | | - inputs: |
7 | | - artifacts: |
8 | | - description: 'Optionally restrict what artifacts to build (portable, installer, etc.). Separate artifacts with spaces' |
9 | | - required: false |
10 | | - architecture: |
11 | | - type: choice |
12 | | - description: 'Architecture to build' |
13 | | - required: true |
14 | | - options: |
15 | | - - x86_64 |
16 | | - - i686 |
17 | | - - aarch64 |
18 | | - tag_git_workflow_run_id: |
19 | | - description: 'Workflow run ID of the tag-git pipeline' |
20 | | - required: false |
21 | | - existing_git_tag: |
22 | | - description: 'Existing tag to build from. Requires tag_git_workflow_run_id to be empty' |
23 | | - required: false |
24 | | - build_extra_rev_for_existing_git_tag: |
25 | | - description: 'build-extra revision to use if building from an existing Git tag. Required if existing_git_tag is non-empty' |
26 | | - required: false |
| 5 | + push: |
27 | 6 |
|
28 | 7 | env: |
29 | 8 | GPG_OPTIONS: "--batch --yes --no-tty --list-options no-show-photos --verify-options no-show-photos --pinentry-mode loopback" |
30 | 9 | HOME: "${{github.workspace}}\\home" |
31 | 10 | USERPROFILE: "${{github.workspace}}\\home" |
32 | | - ARTIFACTS_TO_BUILD: "${{github.event.inputs.artifacts}}" |
33 | | - ARCHITECTURE: "${{github.event.inputs.architecture}}" |
| 11 | + ARTIFACTS_TO_BUILD: "installer portable archive mingit mingit-busybox" |
| 12 | + ARCHITECTURE: i686 |
34 | 13 | OWNER: git-for-windows |
35 | 14 | REPO: git |
36 | | - TAG_GIT_WORKFLOW_RUN_ID: "${{github.event.inputs.tag_git_workflow_run_id}}" |
37 | | - EXISTING_GIT_TAG: "${{github.event.inputs.existing_git_tag}}" |
38 | | - BUILD_EXTRA_REV_FOR_EXISTING_GIT_TAG: "${{github.event.inputs.build_extra_rev_for_existing_git_tag}}" |
| 15 | + TAG_GIT_WORKFLOW_RUN_ID: 12965286926 |
| 16 | + EXISTING_GIT_TAG: |
| 17 | + BUILD_EXTRA_REV_FOR_EXISTING_GIT_TAG: |
39 | 18 |
|
40 | 19 | defaults: |
41 | 20 | run: |
42 | 21 | shell: bash |
43 | 22 |
|
44 | 23 | jobs: |
45 | 24 | pkg: |
46 | | - runs-on: ${{ github.event.inputs.architecture == 'aarch64' && fromJSON('["Windows", "ARM64"]') || 'windows-latest' }} |
| 25 | + runs-on: windows-latest |
47 | 26 | outputs: |
48 | 27 | artifact_matrix: ${{ steps.artifact-build-matrix.outputs.result }} |
49 | 28 | msystem: ${{steps.configure-environment.outputs.MSYSTEM}} |
@@ -354,7 +333,7 @@ jobs: |
354 | 333 | append-text: "${{ format('Completed: {0}', job.status) }}." |
355 | 334 | conclusion: ${{ job.status }} |
356 | 335 | artifacts: |
357 | | - runs-on: ${{ github.event.inputs.architecture == 'aarch64' && fromJSON('["Windows", "ARM64"]') || 'windows-latest' }} |
| 336 | + runs-on: windows-latest |
358 | 337 | needs: pkg |
359 | 338 | env: |
360 | 339 | MSYSTEM: ${{ needs.pkg.outputs.msystem }} |
|
0 commit comments