File: action.yml

package info (click to toggle)
python-jq 1.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 192 kB
  • sloc: python: 439; makefile: 26
file content (18 lines) | stat: -rw-r--r-- 524 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: 'Setup msys2'
inputs:
  arch:
    required: true
runs:
  using: "composite"
  steps:
  - name: Set up MSYS2
    id: set-up-msys2
    uses: msys2/setup-msys2@v2.27.0
    with:
      msystem: ${{ inputs.arch == 'x86' && 'mingw32' || 'ucrt64' }}
      install: make mingw-w64-${{ inputs.arch == 'x86' && 'i686' || 'ucrt-x86_64' }}-gcc patch

  - name: Set PATH for x86
    if: ${{ inputs.arch == 'x86' }}
    shell: msys2 {0}
    run: echo "${{ steps.set-up-msys2.outputs.msys2-location }}/mingw32/bin" >> "$GITHUB_PATH"