Files
setup-ossutil/action.yml
2024-01-25 15:46:42 +00:00

39 lines
986 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:
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 }}
# Define your outputs here.
outputs:
runs:
using: node20
main: dist/index.js