mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
39bb2dcf87
Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
27 lines
613 B
YAML
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
|