Skip to content

Commit

Permalink
Merge branch 'git-for-windows:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
HarryGwinnell authored Jun 8, 2024
2 parents 6f67ed6 + 7d0f7ea commit 80690de
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ jobs:
run: git clone --depth 1 --single-branch -b main https://github.com/git-for-windows/build-extra /usr/src/build-extra

- name: update the SDK ("pacman -Syyu")
timeout-minutes: 20
shell: powershell
run: |
& ("${{ steps.setup-sdk.outputs.result }}\update-via-pacman.ps1")
Expand Down Expand Up @@ -162,6 +163,7 @@ jobs:
bash -lc "set -x && rebase -v -i /usr/lib/perl5/core_perl/auto/Cwd/Cwd.dll"
- name: Get GPG key(s)
timeout-minutes: 5
shell: bash
env:
CARCH: x86_64 # dummy, to allow sourcing cv2pdb's PKGBUILD as-is
Expand Down Expand Up @@ -203,6 +205,7 @@ jobs:
echo "SIGNTOOL=git signtool" >>$GITHUB_ENV
- name: Build ${{env.PACKAGE_TO_BUILD}}
timeout-minutes: ${{ env.PACKAGE_TO_BUILD== 'mingw-w64-llvm' && 360 || 150 }}
env:
GPGKEY: ${{secrets.GPGKEY}}
MAKEPKG: ${{ env.REPO != 'MSYS2-packages' && env.PACKAGE_TO_BUILD != 'git-for-windows-keyring' && 'makepkg-mingw' || 'makepkg' }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/create-azure-self-hosted-runners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
type: string
required: true
description: Deallocate the runner immediately after creating it (useful for spinning up runners preemptively)
default: false
default: "false"

env:
ACTIONS_RUNNER_SCOPE: ${{ github.event.inputs.runner_scope }}
Expand Down Expand Up @@ -157,6 +157,7 @@ jobs:
deploymentName: deploy-${{ steps.generate-vm-name.outputs.vm_name }}
template: ./azure-self-hosted-runners/azure-arm-template.json
parameters: ./azure-self-hosted-runners/azure-arm-template-example-parameters.json ${{ env.AZURE_ARM_PARAMETERS }}
scope: resourcegroup

- name: Show post-deployment script output
env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/git-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ jobs:
echo -n "$CODESIGN_PASS" >.sig/codesign.pass
git config --global alias.signtool '!sh "/usr/src/build-extra/signtool.sh"'
- name: Prepare home directory for GPG signing
timeout-minutes: 5
if: env.GPGKEY != '' && steps.restore-cached-git-pkg.outputs.cache-hit != 'true'
run: |
echo '${{secrets.PRIVGPGKEY}}' | tr % '\n' | gpg $GPG_OPTIONS --import &&
Expand All @@ -277,6 +278,7 @@ jobs:
append-text: "About to build the `${{env.MINGW_PACKAGE_PREFIX}}-git` package"
owner: ${{ env.OWNER }}
- name: Build ${{env.MINGW_PACKAGE_PREFIX}}-git
timeout-minutes: 60
if: steps.restore-cached-git-pkg.outputs.cache-hit != 'true'
env:
GPGKEY: "${{secrets.GPGKEY}}"
Expand Down
File renamed without changes.

0 comments on commit 80690de

Please sign in to comment.