update cc-related CI (#387)

* merge get-cc-url into get-version

* add `get-cc`

* fix

* fix again

* fix

* fix

* fix macos

* remove `apt update`

* fix macos

* rename `get-version` -> `get-info`

* rm unnecessary file
This commit is contained in:
Imple Lee
2021-10-17 14:23:36 +08:00
committed by GitHub
parent f9902a6ea5
commit 25b5f53f34
9 changed files with 125 additions and 147 deletions

View File

@@ -5,7 +5,7 @@ inputs:
required: true
love-dir:
required: true
cc-url:
arch:
required: true
version:
required: true
@@ -22,9 +22,9 @@ runs:
shell: bash
run: mv ${{ inputs.love-dir }} love
- name: Download ColdClear
uses: ./.github/actions/get-unzip
uses: ./.github/actions/get-cc
with:
url: ${{ inputs.cc-url }}
arch: ${{ inputs.arch }}
- name: Download ResourceHacker
uses: ./.github/actions/get-unzip
with: