Skip to content

Commit

Permalink
Update build32.yml
Browse files Browse the repository at this point in the history
use new output of msys2-location from setup-msys2
  • Loading branch information
jeremyd2019 authored Sep 3, 2024
1 parent 9ef5444 commit c338caf
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/build32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,14 @@ jobs:
ref: ${{ github.event.inputs.ref }}
path: r

- uses: jeremyd2019/setup-msys2@v2_32
- id: msys2
uses: jeremyd2019/setup-msys2@v2_32
with:
msystem: MSYS
install: git base-devel msys2-devel pactoys-git
update: true
bitness: 32

- name: Query MSYS2 root dir
id: msys2
shell: powershell
run: Write-Output ('rootdir={0}' -f (msys2 -c 'cygpath -w /')) >> $Env:GITHUB_OUTPUT

- name: Add build32 repo
if: ${{ github.event.inputs.release_name != 'repo' || github.event.inputs.repo_db_name != 'build32' }}
continue-on-error: true
Expand Down Expand Up @@ -93,7 +89,7 @@ jobs:
- name: Auto-Rebase 1
shell: cmd
run: |
call "${{ steps.msys2.outputs.rootdir }}\autorebase.bat"
call "${{ steps.msys2.outputs.msys2-location }}\autorebase.bat"
- name: Update again
run: ./update.sh
Expand All @@ -106,8 +102,8 @@ jobs:
- name: Auto-Rebase 2 and subst
shell: cmd
run: |
del "${{ steps.msys2.outputs.rootdir }}\etc\rebase.db.*"
call "${{ steps.msys2.outputs.rootdir }}\autorebase.bat"
del "${{ steps.msys2.outputs.msys2-location }}\etc\rebase.db.*"
call "${{ steps.msys2.outputs.msys2-location }}\autorebase.bat"
SUBST T: .
- name: Build32
Expand Down

0 comments on commit c338caf

Please sign in to comment.