mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-24 03:39:56 -04:00
use cli setup action
This commit is contained in:
parent
df278bfa89
commit
4ce3c7bad5
2 changed files with 1 additions and 30 deletions
.github
27
.github/actions/setup-cli/action.yml
vendored
27
.github/actions/setup-cli/action.yml
vendored
|
@ -1,27 +0,0 @@
|
|||
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
|
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -61,9 +61,7 @@ jobs:
|
|||
host: linux
|
||||
|
||||
- name: Setup CLI
|
||||
uses: ./.github/actions/setup-cli
|
||||
with:
|
||||
host: linux
|
||||
uses: geode-sdk/cli/.github/actions/setup@main
|
||||
|
||||
- name: Download xwin
|
||||
uses: robinraju/release-downloader@v1.10
|
||||
|
|
Loading…
Add table
Reference in a new issue