From fd6fbb7c82e67f4e8ec6763f1981706f20dfb447 Mon Sep 17 00:00:00 2001 From: Rimo Date: Tue, 22 Dec 2020 01:07:58 +0800 Subject: [PATCH] Upgrade default version of ossutil to 1.7.0 --- README.md | 2 +- __tests__/installer.test.ts | 4 ++-- action.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 23fa8da..9a527bd 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ steps: - uses: actions/checkout@v1 - uses: yizhoumo/setup-ossutil@v1 with: - ossutil-version: '1.6.11' # Optional, default to '1.6.11' + ossutil-version: '1.7.0' # Optional, default to '1.7.0' endpoint: ${{ secrets.OSS_ENDPOINT }} access-key-id: ${{ secrets.OSS_ACCESS_KEY_ID }} access-key-secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }} diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts index c336e4c..c1ad484 100644 --- a/__tests__/installer.test.ts +++ b/__tests__/installer.test.ts @@ -25,8 +25,8 @@ describe('installer tests', () => { await io.rmRF(TEMP_DIR) }) - it('install ossutil 1.6.11', async () => { - const version = '1.6.11' + it('install ossutil 1.7.0', async () => { + const version = '1.7.0' await installer.getOssutil(version) const ossutilDir = path.join(TOOL_DIR, 'ossutil', version, process.arch) diff --git a/action.yml b/action.yml index 29f8d3c..84d8ed0 100644 --- a/action.yml +++ b/action.yml @@ -5,7 +5,7 @@ inputs: ossutil-version: description: 'The OSSUTIL version to download and use' required: false - default: '1.6.11' + default: '1.7.0' endpoint: description: 'The endpoint of your bucket' required: true