name: Install yq on: pull_request: types: [ "opened", "reopened", "synchronize" ] push: branches: - '**' tags-ignore: - '**' workflow_dispatch: {} jobs: install-yq: runs-on: ${{ matrix.runs-on }} strategy: matrix: include: # Linux - runs-on: "ubuntu-latest-amd64" yq-arch: "amd64" yq-os: "linux" - runs-on: "ubuntu-latest-arm64" yq-arch: "arm64" yq-os: "linux" # Darwin # - runs-on: "macos-latest-amd64" # yq-arch: "amd64" # yq-os: "darwin" # - runs-on: "macos-latest-arm64" # yq-arch: "arm64" # yq-os: "darwin" steps: - uses: actions/checkout@v7.0.0 - name: Install yq shell: bash env: YQ_ARCH: ${{ matrix.yq-arch }} YQ_BINARY_NAME: ${{ inputs.yq-binary-name }} YQ_DOWNLOAD_URL: ${{ inputs.yq-download-url }} YQ_OS: ${{ matrix .yq-os }} YQ_VERSION: ${{ inputs.yq-version }} run: ./install-yq.sh