git-artifacts: add workaround for GCM Core on ARM64

Since there is no GCM Core for ARM64, let's just install a simple shell
script that calls the i686 version for now.

Signed-off-by: Dennis Ameling <dennis@dennisameling.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Dennis Ameling 2021-03-03 11:59:05 +01:00 коммит произвёл Johannes Schindelin
Родитель 3b60251bae
Коммит aae12508c1
1 изменённых файлов: 7 добавлений и 0 удалений

7
.github/workflows/git-artifacts.yml поставляемый
Просмотреть файл

@ -416,6 +416,13 @@ jobs:
with:
name: arm64-artifacts
path: ${{github.workspace}}/arm64
# Workaround for Git Credential Manager Core on ARM64: https://github.com/git-for-windows/git/issues/3015
- name: Create git-credential-manager-core wrapper for ARM64
if: env.SKIP != 'true' && matrix.arch.arm64 == true
shell: bash
run: |
printf '%s\n' '#!/bin/sh' 'exec /mingw32/libexec/git-core/git-credential-manager-core.exe "$@"' > arm64/libexec/git-core/git-credential-manager-core
chmod +x arm64/libexec/git-core/git-credential-manager-core
- name: Clone and update build-extra
if: env.SKIP != 'true'
shell: bash