From ce13c5976040b12e395df629bf8d88fad4cabdbf Mon Sep 17 00:00:00 2001 From: Shiying Chen Date: Mon, 22 Apr 2024 12:54:55 +0800 Subject: [PATCH] modify readme (#148) --- .github/workflows/pr-test.yml | 9 ++++++++- README.md | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 8b7e001..6d954b1 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -28,13 +28,20 @@ jobs: run: | ncc build -C -m src/entrypoint.ts - - name: Test - Postive + - name: Specific version test- Postive uses: ./ with: azcliversion: 2.30.0 inlineScript: | az --version + - name: Latest version test - Postive + uses: ./ + with: + azcliversion: latest + inlineScript: | + az --version + - name: Default version test - Postive uses: ./ with: diff --git a/README.md b/README.md index 0b512af..2127479 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ The definition of this GitHub Action is in [action.yml](https://github.com/Azure * [Azure Login](https://github.com/Azure/login) – **Optional** Login with your Azure credentials, required only for authentication via Azure credentials. If you use this action, make sure to either use the default value of `azcliversion` or `azcliversion >= 2.30.0` for all the workflows. Authentication via connection strings or keys do not require this step. * [Checkout](https://github.com/actions/checkout) – **Optional** To execute the scripts present in your repository. -### Workflow to execute an Azure CLI script of a specific CLI version +### Workflow to execute an Azure CLI script of the latest Azure CLI version ```yaml # File: .github/workflows/workflow.yml @@ -49,7 +49,7 @@ jobs: - name: Azure CLI script uses: azure/cli@v2 with: - azcliversion: 2.30.0 + azcliversion: latest inlineScript: | az account show az storage -h