Upgrade default version of ossutil to 1.7.0
This commit is contained in:
@@ -16,7 +16,7 @@ steps:
|
|||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: yizhoumo/setup-ossutil@v1
|
- uses: yizhoumo/setup-ossutil@v1
|
||||||
with:
|
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 }}
|
endpoint: ${{ secrets.OSS_ENDPOINT }}
|
||||||
access-key-id: ${{ secrets.OSS_ACCESS_KEY_ID }}
|
access-key-id: ${{ secrets.OSS_ACCESS_KEY_ID }}
|
||||||
access-key-secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }}
|
access-key-secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }}
|
||||||
|
|||||||
@@ -25,8 +25,8 @@ describe('installer tests', () => {
|
|||||||
await io.rmRF(TEMP_DIR)
|
await io.rmRF(TEMP_DIR)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('install ossutil 1.6.11', async () => {
|
it('install ossutil 1.7.0', async () => {
|
||||||
const version = '1.6.11'
|
const version = '1.7.0'
|
||||||
await installer.getOssutil(version)
|
await installer.getOssutil(version)
|
||||||
|
|
||||||
const ossutilDir = path.join(TOOL_DIR, 'ossutil', version, process.arch)
|
const ossutilDir = path.join(TOOL_DIR, 'ossutil', version, process.arch)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ inputs:
|
|||||||
ossutil-version:
|
ossutil-version:
|
||||||
description: 'The OSSUTIL version to download and use'
|
description: 'The OSSUTIL version to download and use'
|
||||||
required: false
|
required: false
|
||||||
default: '1.6.11'
|
default: '1.7.0'
|
||||||
endpoint:
|
endpoint:
|
||||||
description: 'The endpoint of your bucket'
|
description: 'The endpoint of your bucket'
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
Reference in New Issue
Block a user