diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index e8d8f59010..8eb20a2e55 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -116,7 +116,7 @@ jobs: cd $REPO_NAME/out/Debug sudo mkdir artifact sudo mv {Telegram,Updater} artifact/ - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: env.UPLOAD_ARTIFACT == 'true' name: Upload artifact. with: diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 8a83d62dd3..e5f5e56206 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -134,7 +134,7 @@ jobs: mkdir artifact mv Telegram.app artifact/ mv Updater artifact/ - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: env.UPLOAD_ARTIFACT == 'true' name: Upload artifact. with: diff --git a/.github/workflows/mac_packaged.yml b/.github/workflows/mac_packaged.yml index 9b40c249e7..bd51bb74a5 100644 --- a/.github/workflows/mac_packaged.yml +++ b/.github/workflows/mac_packaged.yml @@ -153,7 +153,7 @@ jobs: cd $REPO_NAME/build mkdir artifact mv Telegram.dmg artifact/ - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: env.UPLOAD_ARTIFACT == 'true' name: Upload artifact. with: diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml index c2ee6773a4..93ef6ad36f 100644 --- a/.github/workflows/snap.yml +++ b/.github/workflows/snap.yml @@ -75,7 +75,7 @@ jobs: mkdir artifact mv $artifact_name artifact - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: env.UPLOAD_ARTIFACT == 'true' name: Upload artifact. with: diff --git a/.github/workflows/win.yml b/.github/workflows/win.yml index 1200e1de05..ca0c7bf097 100644 --- a/.github/workflows/win.yml +++ b/.github/workflows/win.yml @@ -183,7 +183,7 @@ jobs: mkdir artifact move %OUT%\Telegram.exe artifact/ move %OUT%\Updater.exe artifact/ - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 name: Upload artifact. if: (env.UPLOAD_ARTIFACT == 'true') || (github.ref == 'refs/heads/nightly') with: