35 lines
955 B
YAML
35 lines
955 B
YAML
name: 'Setup OSSUTIL environment'
|
|
description: 'Download and config Alibaba Cloud OSSUTIL'
|
|
author: 'Rimo'
|
|
|
|
# Add your action's branding here. This will appear on the GitHub Marketplace.
|
|
branding:
|
|
icon: 'download-cloud'
|
|
color: 'orange'
|
|
|
|
# Define your inputs here.
|
|
inputs:
|
|
ossutil-version:
|
|
description: 'The OSSUTIL version to download and use, or "latest" for the latest version.'
|
|
required: true
|
|
default: '1.7.18'
|
|
endpoint:
|
|
description: 'The endpoint of the region in which the bucket is located.'
|
|
required: false
|
|
access-key-id:
|
|
description: 'The AccessKey ID of the credential.'
|
|
required: false
|
|
access-key-secret:
|
|
description: 'The AccessKey Secret of the credential.'
|
|
required: false
|
|
sts-token:
|
|
description: 'The STS Token of the credential. Only required for STS temporary access credential.'
|
|
required: false
|
|
|
|
# Define your outputs here.
|
|
outputs: {}
|
|
|
|
runs:
|
|
using: node20
|
|
main: dist/index.js
|