Skip to content

build-and-deploy: use update-via-pacman.ps1 instead of a home-grown pacman -Syyu #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:

- name: Download Git for Windows SDK
uses: git-for-windows/setup-git-for-windows-sdk@v1
id: setup-sdk
with:
flavor: ${{ env.PACKAGE_TO_BUILD == 'mingw-w64-git' && 'build-installers' || 'full' }}
architecture: ${{ env.ARCHITECTURE || 'x86_64' }}
Expand All @@ -122,9 +123,10 @@ jobs:
shell: bash
run: git clone --depth 1 --single-branch -b main https://github.com/git-for-windows/build-extra /usr/src/build-extra

- name: pacman -Syyu
shell: bash
run: pacman -Syyu --noconfirm
- name: update the SDK ("pacman -Syyu")
shell: powershell
run: |
& ("${{ steps.setup-sdk.outputs.result }}\update-via-pacman.ps1")

- name: rebase `.dll` base addresses
if: env.ARCHITECTURE == 'i686'
Expand Down