From f8f3390342ea7c5a1624936f86a2439687ca2fac Mon Sep 17 00:00:00 2001 From: Johann Hoffmann Date: Mon, 21 Nov 2022 18:21:33 +0100 Subject: [PATCH] Update checkout action version and replace set-output commands Signed-off-by: Johann Hoffmann --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/enforce-jira-issue-key.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef348fa..307f650 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: DOCKER_REGISTRY_USERNAME: ucentral steps: - name: Checkout actions repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: Telecominfraproject/.github path: github @@ -57,11 +57,11 @@ jobs: - name: Get base branch name and set as output id: get_base_branch run: | - echo ::set-output name=branch::$(echo ${GITHUB_BASE_REF##*/}) - echo ::set-output name=owgw_branch::$(echo ${GITHUB_BASE_REF##*/} | sed 's/main/master/g') + echo "branch=$(echo ${GITHUB_BASE_REF##*/})" >> $GITHUB_OUTPUT + echo "owgw_branch=$(echo ${GITHUB_BASE_REF##*/} | sed 's/main/master/g')" >> $GITHUB_OUTPUT - name: Checkout actions repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: Telecominfraproject/.github path: github @@ -86,7 +86,7 @@ jobs: - docker steps: - name: Checkout actions repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: Telecominfraproject/.github path: github diff --git a/.github/workflows/enforce-jira-issue-key.yml b/.github/workflows/enforce-jira-issue-key.yml index 0908476..a56d6ed 100644 --- a/.github/workflows/enforce-jira-issue-key.yml +++ b/.github/workflows/enforce-jira-issue-key.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout actions repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: Telecominfraproject/.github path: github diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fbc2788..b329c4e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: HELM_REPO_USERNAME: ucentral steps: - name: Checkout uCentral assembly chart repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: wlan-cloud-analytics