Skip to content

Commit

Permalink
TO-DROP: build git-artifacts snapshot (i686) on push
Browse files Browse the repository at this point in the history
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 <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Jan 25, 2025
1 parent bba3e14 commit 6dc58a3
Showing 1 changed file with 9 additions and 30 deletions.
39 changes: 9 additions & 30 deletions .github/workflows/git-artifacts.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,28 @@
name: git-artifacts
run-name: Build git-artifacts (${{ inputs.artifacts != '' && format('{0} ', inputs.artifacts) || '' }}${{ inputs.architecture }})
run-name: Build git-artifacts (installer portable archive mingit mingit-busybox i686)

on:
workflow_dispatch:
inputs:
artifacts:
description: 'Optionally restrict what artifacts to build (portable, installer, etc.). Separate artifacts with spaces'
required: false
architecture:
type: choice
description: 'Architecture to build'
required: true
options:
- x86_64
- i686
- aarch64
tag_git_workflow_run_id:
description: 'Workflow run ID of the tag-git pipeline'
required: false
existing_git_tag:
description: 'Existing tag to build from. Requires tag_git_workflow_run_id to be empty'
required: false
build_extra_rev_for_existing_git_tag:
description: 'build-extra revision to use if building from an existing Git tag. Required if existing_git_tag is non-empty'
required: false
push:

env:
GPG_OPTIONS: "--batch --yes --no-tty --list-options no-show-photos --verify-options no-show-photos --pinentry-mode loopback"
HOME: "${{github.workspace}}\\home"
USERPROFILE: "${{github.workspace}}\\home"
ARTIFACTS_TO_BUILD: "${{github.event.inputs.artifacts}}"
ARCHITECTURE: "${{github.event.inputs.architecture}}"
ARTIFACTS_TO_BUILD: "installer portable archive mingit mingit-busybox"
ARCHITECTURE: i686
OWNER: git-for-windows
REPO: git
TAG_GIT_WORKFLOW_RUN_ID: "${{github.event.inputs.tag_git_workflow_run_id}}"
EXISTING_GIT_TAG: "${{github.event.inputs.existing_git_tag}}"
BUILD_EXTRA_REV_FOR_EXISTING_GIT_TAG: "${{github.event.inputs.build_extra_rev_for_existing_git_tag}}"
TAG_GIT_WORKFLOW_RUN_ID: 12965286926
EXISTING_GIT_TAG:
BUILD_EXTRA_REV_FOR_EXISTING_GIT_TAG:

defaults:
run:
shell: bash

jobs:
pkg:
runs-on: ${{ github.event.inputs.architecture == 'aarch64' && fromJSON('["Windows", "ARM64"]') || 'windows-latest' }}
runs-on: windows-latest
outputs:
artifact_matrix: ${{ steps.artifact-build-matrix.outputs.result }}
msystem: ${{steps.configure-environment.outputs.MSYSTEM}}
Expand Down Expand Up @@ -354,7 +333,7 @@ jobs:
append-text: "${{ format('Completed: {0}', job.status) }}."
conclusion: ${{ job.status }}
artifacts:
runs-on: ${{ github.event.inputs.architecture == 'aarch64' && fromJSON('["Windows", "ARM64"]') || 'windows-latest' }}
runs-on: windows-latest
needs: pkg
env:
MSYSTEM: ${{ needs.pkg.outputs.msystem }}
Expand Down

0 comments on commit 6dc58a3

Please sign in to comment.