Skip to content

Commit

Permalink
Merge pull request #100 from git-for-windows/arm64-missing-pieces
Browse files Browse the repository at this point in the history
release-git: add missing aarch64 input to github-release action
  • Loading branch information
dscho authored Nov 25, 2024
2 parents bea1632 + df180da commit 922f20a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/actions/pacman-packages/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ inputs:
git_artifacts_x86_64_workflow_run_id:
description: 'ID of the git-artifacts (x86_64) workflow run'
required: true
git_artifacts_aarch64_workflow_run_id:
description: 'ID of the git-artifacts (aarch64) workflow run'
required: true
gpg-key:
description: 'The GPG key to use to sign the updated Pacman database'
required: true
Expand All @@ -58,7 +61,7 @@ runs:
rev: ${{ inputs.rev }}
check-run-name: "pacman-packages"
title: "Deploy the mingw-w64-git packages ${{ inputs.display-version }}"
summary: "Downloading the Pacman packages from ${{ inputs.git_artifacts_x86_64_workflow_run_id }} and ${{ inputs.git_artifacts_i686_workflow_run_id }} and deploying them to the Pacman Repository"
summary: "Downloading the Pacman packages from ${{ inputs.git_artifacts_x86_64_workflow_run_id }}, ${{ inputs.git_artifacts_i686_workflow_run_id }}, and ${{ inputs.git_artifacts_aarch64_workflow_run_id }} and deploying them to the Pacman Repository"
text: "For details, see [this run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id}})."
details-url: "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id}}"
- name: Download artifacts
Expand All @@ -84,6 +87,15 @@ runs:
${{ inputs.git_artifacts_i686_workflow_run_id }},
'pkg-i686'
)
await getWorkflowRunArtifact(
console,
${{ toJSON(inputs.artifacts-token) }},
artifactsOwner,
artifactsRepo,
${{ inputs.git_artifacts_aarch64_workflow_run_id }},
'pkg-aarch64'
)
- name: Download Git for Windows SDK
uses: git-for-windows/setup-git-for-windows-sdk@v1
with:
Expand Down Expand Up @@ -113,7 +125,7 @@ runs:
GPGKEY: ${{ inputs.gpg-key }}
azure_blobs_token: ${{ inputs.azure-blobs-token }}
run: |
"$RUNNER_TEMP"/build-extra/pacman-helper.sh quick_add pkg-x86_64/*.tar.* pkg-i686/*.tar.*
"$RUNNER_TEMP"/build-extra/pacman-helper.sh quick_add pkg-x86_64/*.tar.* pkg-i686/*.tar.* pkg-aarch64/*.tar.*
- name: update check-run
if: always()
uses: ./.github/actions/check-run-action
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ jobs:
artifacts-token: ${{ secrets.GITHUB_TOKEN }}
git_artifacts_i686_workflow_run_id: ${{ env.I686_WORKFLOW_RUN_ID }}
git_artifacts_x86_64_workflow_run_id: ${{ env.X86_64_WORKFLOW_RUN_ID }}
git_artifacts_aarch64_workflow_run_id: ${{ env.AARCH64_WORKFLOW_RUN_ID }}
announcement-mail:
needs: ['setup', 'github-release']
runs-on: ubuntu-latest
Expand Down Expand Up @@ -188,6 +189,7 @@ jobs:
artifacts-token: ${{ secrets.GITHUB_TOKEN }}
git_artifacts_i686_workflow_run_id: ${{ env.I686_WORKFLOW_RUN_ID }}
git_artifacts_x86_64_workflow_run_id: ${{ env.X86_64_WORKFLOW_RUN_ID }}
git_artifacts_aarch64_workflow_run_id: ${{ env.AARCH64_WORKFLOW_RUN_ID }}
gpg-key: ${{ secrets.GPGKEY }}
priv-gpg-key: ${{ secrets.PRIVGPGKEY }}
azure-blobs-token: ${{ secrets.AZURE_BLOBS_TOKEN }}
Expand Down

0 comments on commit 922f20a

Please sign in to comment.