add inso cli compatibility job #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Inso CLI macos compatibility | |
on: | |
merge_group: | |
workflow_dispatch: | |
push: | |
branches: | |
- develop | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
build: | |
if: always() | |
runs-on: ${{ matrix.os }} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{matrix.os}}-${{matrix.url}} | |
strategy: | |
matrix: | |
os: [macos-12, macos-13, macos-14, macos-11] | |
url: [ | |
'v9.3.0-alpha.0-experimental/inso-macos-13-9.3.0-alpha.0.zip', | |
'v9.3.0-alpha.0-experimental/inso-macos-latest-9.3.0-alpha.0.zip', | |
'lib%409.2.0/inso-macos-9.2.0.zip' | |
] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Download Inso ZIP file | |
run: curl -L -o inso.zip https://github.com/Kong/insomnia/releases/download/${{ matrix.url }} | |
- name: Unzip Inso | |
run: unzip inso.zip -d inso | |
- name: List files to verify unzip | |
run: ls inso | |
- name: Make Inso executable | |
run: chmod +x inso/inso | |
- name: Run Inso | |
run: ./inso/inso --version | |
continue-on-error: true |