diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-01-13 19:45:39 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-01-16 10:33:08 -0800 |
commit | 7d6e70d51a57bb991568012e82bf27faeb0b58e9 (patch) | |
tree | 4151096618b81d04c374cf73a6720280d00e16ff | |
parent | 8800601da52fdf05d2a8020e5c7cb4a39e95eb4c (diff) | |
download | meta-clang-7d6e70d51a57bb991568012e82bf27faeb0b58e9.tar.gz |
yoe/ci: Use actions/checkout@v3
actions/checkout@v2 uses node12 with EOL now.
Replace ::set-output with $GITHUB_OUTPUT envvar
::set-output is deprecated [1]
[1] https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | .github/workflows/yoe.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/yoe.yml b/.github/workflows/yoe.yml index 6aa856e..a310c95 100644 --- a/.github/workflows/yoe.yml +++ b/.github/workflows/yoe.yml | |||
@@ -17,9 +17,9 @@ jobs: | |||
17 | steps: | 17 | steps: |
18 | - name: Fetch Repo Name | 18 | - name: Fetch Repo Name |
19 | id: repo-name | 19 | id: repo-name |
20 | run: echo "::set-output name=value::$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" | 20 | run: echo "value=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_OUTPUT |
21 | - name: Checkout | 21 | - name: Checkout |
22 | uses: actions/checkout@v2 | 22 | uses: actions/checkout@v3 |
23 | with: | 23 | with: |
24 | fetch-depth: 0 | 24 | fetch-depth: 0 |
25 | submodules: recursive | 25 | submodules: recursive |