From 9601207b2cc9d39e68301223896e35fd9ecf6fac Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Mon, 7 Nov 2022 15:32:59 +0300 Subject: [PATCH] Fixed warnings from Github CI. --- .github/workflows/docker.yml | 2 +- .github/workflows/linux.yml | 2 +- .github/workflows/mac.yml | 6 +++--- .github/workflows/master_updater.yml | 2 +- .github/workflows/snap.yml | 2 +- .github/workflows/win.yml | 12 +++++++----- 6 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 8b66c3a19e..74bbdd57c8 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Clone. - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: submodules: recursive diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index d8741a3af4..b7febd2b78 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -69,7 +69,7 @@ jobs: run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV - name: Clone. - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: submodules: recursive path: ${{ env.REPO_NAME }} diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index db96f1120b..69525230e3 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -56,7 +56,7 @@ jobs: run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV - name: Clone. - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: submodules: recursive path: ${{ env.REPO_NAME }} @@ -73,7 +73,7 @@ jobs: - name: ThirdParty cache. id: cache-third-party - uses: actions/cache@v2 + uses: actions/cache@v3.0.11 with: path: ThirdParty key: ${{ runner.OS }}-third-party-${{ hashFiles(format('{0}/{1}', env.REPO_NAME, env.PREPARE_PATH)) }} @@ -81,7 +81,7 @@ jobs: - name: Libraries cache. id: cache-libs - uses: actions/cache@v2 + uses: actions/cache@v3.0.11 with: path: Libraries key: ${{ runner.OS }}-libs-${{ hashFiles(format('{0}/{1}', env.REPO_NAME, env.PREPARE_PATH)) }} diff --git a/.github/workflows/master_updater.yml b/.github/workflows/master_updater.yml index 333eb43dd6..dc77d50d03 100644 --- a/.github/workflows/master_updater.yml +++ b/.github/workflows/master_updater.yml @@ -11,7 +11,7 @@ jobs: SKIP: "0" to_branch: "master" steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3.1.0 if: env.SKIP == '0' - name: Push the code to the master branch. if: env.SKIP == '0' diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml index 8fb7b79f7b..03d8041a61 100644 --- a/.github/workflows/snap.yml +++ b/.github/workflows/snap.yml @@ -47,7 +47,7 @@ jobs: steps: - name: Clone. - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: fetch-depth: 0 submodules: recursive diff --git a/.github/workflows/win.yml b/.github/workflows/win.yml index 72e6700ff7..e3700154fa 100644 --- a/.github/workflows/win.yml +++ b/.github/workflows/win.yml @@ -60,21 +60,24 @@ jobs: steps: - name: Prepare directories. run: | + mkdir %userprofile%\TBuild + mklink /d %GITHUB_WORKSPACE%\TBuild %userprofile%\TBuild + echo TBUILD=%GITHUB_WORKSPACE%\TBuild>>%GITHUB_ENV% + mkdir %userprofile%\TBuild Libraries mklink /d %userprofile%\TBuild\Libraries %GITHUB_WORKSPACE%\Libraries - echo TBUILD=%userprofile%\TBuild>>%GITHUB_ENV% - name: Get repository name. shell: bash run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV - - uses: ilammy/msvc-dev-cmd@v1.10.0 + - uses: ilammy/msvc-dev-cmd@v1.12.0 name: Native Tools Command Prompt. with: arch: ${{ matrix.arch }} - name: Clone. - uses: LebedevRI/checkout@issue197 + uses: actions/checkout@v3.1.0 with: submodules: recursive path: ${{ env.TBUILD }}\${{ env.REPO_NAME }} @@ -98,7 +101,7 @@ jobs: - name: Libraries cache. id: cache-libs - uses: actions/cache@v2 + uses: actions/cache@v3.0.11 with: path: Libraries key: ${{ runner.OS }}-${{ matrix.arch }}-libs-${{ env.CACHE_KEY }} @@ -132,7 +135,6 @@ jobs: - name: Telegram Desktop build. if: env.ONLY_CACHE == 'false' run: | - C: cd %TBUILD%\%REPO_NAME%\Telegram call configure.bat ^