geode/.github/actions/setup-cli/action.yml
ConfiG 39bb2dcf87
Cleanup the build.yml CI workflow (#939)
Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
2024-06-24 16:14:26 -03:00

27 lines
613 B
YAML

name: Setup Geode CLI
description: Sets up Geode CLI
inputs:
host:
description: 'Host platform: win, mac or linux'
required: true
runs:
using: "composite"
steps:
- name: Download
uses: robinraju/release-downloader@v1.10
with:
repository: geode-sdk/cli
latest: true
fileName: '*-${{ inputs.host }}.zip'
tarBall: false
zipBall: false
out-file-path: "cli"
- name: Setup
shell: bash
run: |
7z x "cli/*-${{ inputs.host }}.zip" -ocli
chmod +x cli/geode
echo "$GITHUB_WORKSPACE/cli" >> $GITHUB_PATH