From 4ce3c7bad54bbca0aedbb0261d2758d4f150cf12 Mon Sep 17 00:00:00 2001 From: ConfiG <cgytrus@cgyt.ru> Date: Thu, 27 Jun 2024 16:07:45 +0300 Subject: [PATCH] use cli setup action --- .github/actions/setup-cli/action.yml | 27 --------------------------- .github/workflows/build.yml | 4 +--- 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 .github/actions/setup-cli/action.yml diff --git a/.github/actions/setup-cli/action.yml b/.github/actions/setup-cli/action.yml deleted file mode 100644 index 9dcb7f4a..00000000 --- a/.github/actions/setup-cli/action.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7189441d..0dfa2d20 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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