diff options
| author | Michael Williamson <mike@zwobble.org> | 2025-06-14 13:37:18 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2025-06-14 14:06:03 +0100 |
| commit | de2b40341bd616a355d1be31e515ba30fecb0d7e (patch) | |
| tree | e1ea6a9ed1676f657468a1fb44f196a482634bf5 | |
| parent | 7272fc88dd736d4397c41df6444f8b23f9756351 (diff) | |
Fix Windows build on GitHub Actions
| -rw-r--r-- | .github/actions/setup-msys2/action.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/actions/setup-msys2/action.yml b/.github/actions/setup-msys2/action.yml index 72c6e38..4816b95 100644 --- a/.github/actions/setup-msys2/action.yml +++ b/.github/actions/setup-msys2/action.yml @@ -6,13 +6,13 @@ runs: using: "composite" steps: - name: Set up MSYS2 + id: set-up-msys2 uses: msys2/setup-msys2@v2 with: - release: false msystem: ${{ inputs.arch == 'x86' && 'mingw32' || 'ucrt64' }} install: make mingw-w64-${{ inputs.arch == 'x86' && 'i686' || 'ucrt-x86_64' }}-gcc - name: Set PATH for x86 if: ${{ inputs.arch == 'x86' }} shell: msys2 {0} - run: echo "C:/msys64/mingw32/bin" >> "$GITHUB_PATH" + run: echo "${{ steps.set-up-msys2.outputs.msys2-location }}/mingw32/bin" >> "$GITHUB_PATH" |
