Skip to content

Set up your GitHub Actions workflow with a specific version of ossutil

License

Notifications You must be signed in to change notification settings

JCBLE/setup-ossutil

 
 

Repository files navigation

setup-ossutil

GitHub Actions status

This action sets up Alibaba Cloud OSSUTIL for use in actions by:

  • downloading and caching ossutil by version and adding to PATH
  • configuring ossutil with your credentials

Usage

See action.yml

steps:
- uses: actions/checkout@v1
- uses: yizhoumo/setup-ossutil@v1
  with:
    ossutil-version: '1.6.11' # Optional, default to '1.6.11'
    endpoint: ${{ secrets.OSS_ENDPOINT }}
    access-key-id: ${{ secrets.OSS_ACCESS_KEY_ID }}
    access-key-secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }}
- run: ossutil cp -f file-to-upload.txt oss://your-bucket/path

See also: Document of ossutil

License

The scripts and documentation in this project are released under the MIT License

About

Set up your GitHub Actions workflow with a specific version of ossutil

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 95.2%
  • JavaScript 4.8%