Files
setup-ossutil/action.yml
Rimo 9dba6ec80f Call GitHub API to get the latest version info (#31)
* call github api to get the latest version info

* remove latest case from installer.tests

* update dist
2022-09-29 01:08:14 +08:00

31 lines
843 B
YAML

name: 'Setup OSSUTIL environment'
description: 'Download and config Alibaba Cloud OSSUTIL'
author: 'Rimo'
inputs:
endpoint:
description: 'The endpoint of your bucket'
required: true
access-key-id:
description: 'The AccessKey ID of the credentials'
required: true
access-key-secret:
description: 'The AccessKey Secret of the credentials'
required: true
sts-token:
description: 'The STS Token of the credentials'
required: false
ossutil-version:
description: 'The OSSUTIL version to download and use'
required: false
default: '1.7.14'
github-token:
description: 'The GitHub token used to call API to fetch the latest version info'
required: false
default: ${{ github.token }}
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: 'download-cloud'
color: 'orange'