aboutsummaryrefslogtreecommitdiffstats
path: root/.github/actions/download-ow/action.yml
blob: a93a229cc243184b5dd3f3ccae2802494b10f2d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name: 'Download OpenWatcom'
description: 'Downloads OpenWatcom'
inputs:
  version:
    description: 'OpenWatcom version'
    required: false
    default: '2.0'
runs:
  using: "composite"
  steps:
    - name: Install OpenWatcom
      run: |
        OW_DIR=$(./scripts/install-ow.sh -d $HOME/watcom --version ${{ inputs.version }})
        (cygpath -w ${OW_DIR} 2>/dev/null || echo ${OW_DIR}) >> ${GITHUB_PATH}
      shell: bash