diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e702263451632..bf2008732f21c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Clone. - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v4 with: submodules: recursive diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 0d772b8d7f1e4..e8d8f59010d98 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -58,7 +58,7 @@ jobs: run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV - name: Clone. - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v4 with: submodules: recursive path: ${{ env.REPO_NAME }} @@ -116,7 +116,7 @@ jobs: cd $REPO_NAME/out/Debug sudo mkdir artifact sudo mv {Telegram,Updater} artifact/ - - uses: actions/upload-artifact@master + - uses: actions/upload-artifact@v2 if: env.UPLOAD_ARTIFACT == 'true' name: Upload artifact. with: diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 0bd06cb1fd9f1..8a83d62dd37ea 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@v4.1.4 + uses: actions/checkout@v4 with: submodules: recursive path: ${{ env.REPO_NAME }} @@ -76,7 +76,7 @@ jobs: - name: ThirdParty cache. id: cache-third-party - uses: actions/cache@v4.0.2 + uses: actions/cache@v4 with: path: ThirdParty key: ${{ runner.OS }}-third-party-${{ hashFiles(format('{0}/{1}', env.REPO_NAME, env.PREPARE_PATH)) }} @@ -84,7 +84,7 @@ jobs: - name: Libraries cache. id: cache-libs - uses: actions/cache@v4.0.2 + uses: actions/cache@v4 with: path: Libraries key: ${{ runner.OS }}-libs-${{ hashFiles(format('{0}/{1}', env.REPO_NAME, env.PREPARE_PATH)) }} @@ -134,7 +134,7 @@ jobs: mkdir artifact mv Telegram.app artifact/ mv Updater artifact/ - - uses: actions/upload-artifact@master + - uses: actions/upload-artifact@v2 if: env.UPLOAD_ARTIFACT == 'true' name: Upload artifact. with: diff --git a/.github/workflows/mac_packaged.yml b/.github/workflows/mac_packaged.yml index 7f0daf22d0312..9b40c249e7f2f 100644 --- a/.github/workflows/mac_packaged.yml +++ b/.github/workflows/mac_packaged.yml @@ -60,7 +60,7 @@ jobs: run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV - name: Clone. - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v4 with: submodules: recursive path: ${{ env.REPO_NAME }} @@ -99,7 +99,7 @@ jobs: - name: WebRTC cache. id: cache-webrtc - uses: actions/cache@v4.0.2 + uses: actions/cache@v4 with: path: ${{ env.LibrariesPath }}/tg_owt key: ${{ runner.OS }}-webrtc-${{ env.CACHE_KEY }}-${{ hashFiles('**/tg_owt-version.json') }} @@ -153,7 +153,7 @@ jobs: cd $REPO_NAME/build mkdir artifact mv Telegram.dmg artifact/ - - uses: actions/upload-artifact@master + - uses: actions/upload-artifact@v2 if: env.UPLOAD_ARTIFACT == 'true' name: Upload artifact. with: diff --git a/.github/workflows/master_updater.yml b/.github/workflows/master_updater.yml index a4e50c1240edc..c59f62e29ad93 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@v4.1.4 + - uses: actions/checkout@v4 with: fetch-depth: 0 if: env.SKIP == '0' diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml index ae4371f0d19a1..3d01478e6f50c 100644 --- a/.github/workflows/snap.yml +++ b/.github/workflows/snap.yml @@ -47,7 +47,7 @@ jobs: steps: - name: Clone. - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -75,7 +75,7 @@ jobs: mkdir artifact mv $artifact_name artifact - - uses: actions/upload-artifact@master + - uses: actions/upload-artifact@v2 if: env.UPLOAD_ARTIFACT == 'true' name: Upload artifact. with: diff --git a/.github/workflows/win.yml b/.github/workflows/win.yml index 222366c6cf3c4..1200e1de05dd9 100644 --- a/.github/workflows/win.yml +++ b/.github/workflows/win.yml @@ -75,7 +75,7 @@ jobs: arch: ${{ matrix.arch }} - name: Clone. - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v4 with: submodules: recursive path: ${{ env.TBUILD }}\${{ env.REPO_NAME }} @@ -96,7 +96,7 @@ jobs: - name: Libraries cache. id: cache-libs - uses: actions/cache@v4.0.2 + uses: actions/cache@v4 with: path: ${{ env.TBUILD }}\Libraries key: ${{ runner.OS }}-${{ matrix.arch }}-libs-${{ env.CACHE_KEY }} @@ -183,7 +183,7 @@ jobs: mkdir artifact move %OUT%\Telegram.exe artifact/ move %OUT%\Updater.exe artifact/ - - uses: actions/upload-artifact@master + - uses: actions/upload-artifact@v2 name: Upload artifact. if: (env.UPLOAD_ARTIFACT == 'true') || (github.ref == 'refs/heads/nightly') with: