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:
7
.github/actions/get-unzip/action.yml
vendored
7
.github/actions/get-unzip/action.yml
vendored
@@ -6,10 +6,13 @@ inputs:
|
||||
dir:
|
||||
required: false
|
||||
default: '.'
|
||||
temp-file:
|
||||
required: false
|
||||
default: temp.zip
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- run: curl -L ${{ inputs.url }} -o temp.zip
|
||||
- run: curl -L ${{ inputs.url }} -o ${{ inputs.temp-file }}
|
||||
shell: bash
|
||||
- run: 7z x temp.zip -o${{ inputs.dir }}
|
||||
- run: 7z x ${{ inputs.temp-file }} -o${{ inputs.dir }}
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user