Skip to content

Commit 6dc58a3

Browse files
committed
TO-DROP: build git-artifacts snapshot (i686) on push
For ease of debugging, (at least for some definition of "ease", given the fact that GitHub Actions is very cumbersome to debug with no hope for improvement, see github/roadmap#637, note that it is locked, and read between the lines of github/roadmap#1014 to form realistic expectations as to how much, or little, will be improved). Signed-off-by: Johannes Schindelin <[email protected]>
1 parent bba3e14 commit 6dc58a3

File tree

1 file changed

+9
-30
lines changed

1 file changed

+9
-30
lines changed

.github/workflows/git-artifacts.yml

Lines changed: 9 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,28 @@
11
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)
33

44
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:
276

287
env:
298
GPG_OPTIONS: "--batch --yes --no-tty --list-options no-show-photos --verify-options no-show-photos --pinentry-mode loopback"
309
HOME: "${{github.workspace}}\\home"
3110
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
3413
OWNER: git-for-windows
3514
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:
3918

4019
defaults:
4120
run:
4221
shell: bash
4322

4423
jobs:
4524
pkg:
46-
runs-on: ${{ github.event.inputs.architecture == 'aarch64' && fromJSON('["Windows", "ARM64"]') || 'windows-latest' }}
25+
runs-on: windows-latest
4726
outputs:
4827
artifact_matrix: ${{ steps.artifact-build-matrix.outputs.result }}
4928
msystem: ${{steps.configure-environment.outputs.MSYSTEM}}
@@ -354,7 +333,7 @@ jobs:
354333
append-text: "${{ format('Completed: {0}', job.status) }}."
355334
conclusion: ${{ job.status }}
356335
artifacts:
357-
runs-on: ${{ github.event.inputs.architecture == 'aarch64' && fromJSON('["Windows", "ARM64"]') || 'windows-latest' }}
336+
runs-on: windows-latest
358337
needs: pkg
359338
env:
360339
MSYSTEM: ${{ needs.pkg.outputs.msystem }}

0 commit comments

Comments
 (0)