2024-03-14 20:00:50 +08:00
2024-03-14 20:00:50 +08:00
2024-01-25 15:46:42 +00:00
2024-01-26 16:43:52 +00:00
2024-01-25 15:46:42 +00:00
2024-01-25 15:46:42 +00:00
2024-01-25 15:46:42 +00:00
2024-01-25 15:46:42 +00:00
2024-01-25 15:46:42 +00:00
2024-01-25 15:46:42 +00:00
2024-01-26 17:11:39 +00:00
2024-01-25 15:46:42 +00:00
2024-01-26 17:11:39 +00:00
2024-01-25 15:46:42 +00:00

setup-ossutil

Continuous Integration Functional

This action provides the following functionality for GitHub Actions users:

  • Downloading and caching distribution of the requested Alibaba Cloud OSSUTIL version, and adding it to the PATH
  • Optionally configuring ossutil with the provided credential

Usage

See action.yml

steps:
- uses: yizhoumo/setup-ossutil@v2
  with:
    ## The version to download and use, or 'latest' for the latest version.
    ossutil-version: '1.7.18'

    # The following parameters are (optionally) used to config the credential.
    ## The endpoint of the region in which the bucket is located.
    endpoint: ${{ secrets.OSS_ENDPOINT }}
    ## The AccessKey ID of the credential.
    access-key-id: ${{ secrets.OSS_ACCESS_KEY_ID }}
    ## The AccessKey Secret of the credential.
    access-key-secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }}
    ## The STS Token of the credential. Only required for temporary access.
    sts-token: ${{ secrets.OSS_STS_TOKEN }}

- 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

Description
远程克隆 | OSS自动化部署工具
Readme MIT 1.8 MiB
Languages
TypeScript 82.4%
Shell 17.6%