From e5b4bd8ce98ba7b7ce6a64055961d2e8e73ddc9c Mon Sep 17 00:00:00 2001 From: yash-ni <131851960+yash-ni@users.noreply.github.com> Date: Fri, 12 Jul 2024 10:17:39 +0530 Subject: [PATCH] Updated various github action's versions (#367) * Updated github workflows * Fixed ilammy/msvc-dev-cmd version * Fixed actions/checkout version --- .github/workflows/build_on_linux.yml | 4 ++-- .github/workflows/build_on_rt.yml | 8 ++++---- .github/workflows/build_release_artifacts.yml | 10 +++++----- .github/workflows/update_vipb_on_publish_release.yml | 4 ++-- .github/workflows/windows_x64_build.yml | 8 ++++---- .github/workflows/windows_x86_build.yml | 8 ++++---- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build_on_linux.yml b/.github/workflows/build_on_linux.yml index 571fdc5e..0ec3bf7f 100644 --- a/.github/workflows/build_on_linux.yml +++ b/.github/workflows/build_on_linux.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Update Submodules shell: bash @@ -74,7 +74,7 @@ jobs: liblabview_grpc_generator.so - name: Upload Build Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: liblabview-grpc-server-linux path: liblabview-grpc-server-linux.tar.gz diff --git a/.github/workflows/build_on_rt.yml b/.github/workflows/build_on_rt.yml index 7d137e04..4cb817ee 100644 --- a/.github/workflows/build_on_rt.yml +++ b/.github/workflows/build_on_rt.yml @@ -15,10 +15,10 @@ jobs: steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup python3 - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.x' @@ -38,7 +38,7 @@ jobs: echo "::set-output name=grpc-commit::$(git rev-parse --short @:./third_party/grpc)" - name: Cache Host OS gRPC Support - uses: actions/cache@v2 + uses: actions/cache@v4 id: hostgrpccache env: cache-name: hostgrpccache @@ -147,7 +147,7 @@ jobs: tar -czvf liblabview-grpc-server-rt.tar.gz -C ${GITHUB_WORKSPACE}/build liblabview_grpc_server.so - name: Upload Build Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: liblabview-grpc-server-rt path: liblabview-grpc-server-rt.tar.gz diff --git a/.github/workflows/build_release_artifacts.yml b/.github/workflows/build_release_artifacts.yml index d530102f..79853a1c 100644 --- a/.github/workflows/build_release_artifacts.yml +++ b/.github/workflows/build_release_artifacts.yml @@ -9,13 +9,13 @@ jobs: name: Download and Build artifacts runs-on: self-hosted steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: "3.10" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 id: download_artifacts with: path: ${{ runner.temp }}\grpc-labview-artifacts @@ -41,7 +41,7 @@ jobs: run: python ${{runner.workspace}}\grpc-labview\tests\run_tests.py - name: Get current time - uses: josStorer/get-current-time@v2 + uses: josStorer/get-current-time@v2.1.2 id: current-time with: format: YYYY-MM-DD_hh-mm-ss @@ -52,13 +52,13 @@ jobs: - name: Check whether logs folder exists in New_ATS id: check_files - uses: andstor/file-existence-action@v2.0.0 + uses: andstor/file-existence-action@v3.0.0 with: files: "${{runner.workspace}}/grpc-labview/tests/New_ATS/logs/" - if: ${{always() && steps.check_files.outputs.files_exists == 'true' }} name: Download New_ATS Test Results if logs folder exists - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: New_ATS Test Results ${{ steps.current-time.outputs.formattedTime }} path: ${{runner.workspace}}/grpc-labview/tests/New_ATS/logs diff --git a/.github/workflows/update_vipb_on_publish_release.yml b/.github/workflows/update_vipb_on_publish_release.yml index 1fee6667..a49fd511 100644 --- a/.github/workflows/update_vipb_on_publish_release.yml +++ b/.github/workflows/update_vipb_on_publish_release.yml @@ -8,7 +8,7 @@ jobs: name: Update VIPB Verison on Release runs-on: self-hosted steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: token: ${{ secrets.GH_REPO_TOKEN }} @@ -22,7 +22,7 @@ jobs: continue-on-error: false - name : Commit VIPB library version bump - uses: stefanzweifel/git-auto-commit-action@v4 + uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: VIPB version bump branch: master diff --git a/.github/workflows/windows_x64_build.yml b/.github/workflows/windows_x64_build.yml index 727608b3..eaa4ba9f 100644 --- a/.github/workflows/windows_x64_build.yml +++ b/.github/workflows/windows_x64_build.yml @@ -17,9 +17,9 @@ jobs: runs-on: windows-2019 steps: - - uses: actions/checkout@v2 - - uses: ilammy/msvc-dev-cmd@v1.4.1 - - uses: ilammy/setup-nasm@v1 + - uses: actions/checkout@v4 + - uses: ilammy/msvc-dev-cmd@v1 + - uses: ilammy/setup-nasm@v1.5.1 - name: Update Submodules working-directory: ${{runner.workspace}}/grpc-labview @@ -72,7 +72,7 @@ jobs: labview_grpc_generator.dll - name: Upload Build Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: labview-grpc-server-windows-x64 path: labview-grpc-server-windows-x64.tar.gz diff --git a/.github/workflows/windows_x86_build.yml b/.github/workflows/windows_x86_build.yml index afa52704..c6ae0676 100644 --- a/.github/workflows/windows_x86_build.yml +++ b/.github/workflows/windows_x86_build.yml @@ -12,11 +12,11 @@ jobs: runs-on: windows-2019 steps: - - uses: actions/checkout@v2 - - uses: ilammy/msvc-dev-cmd@v1.4.1 + - uses: actions/checkout@v4 + - uses: ilammy/msvc-dev-cmd@v1 with: arch: x86 - - uses: ilammy/setup-nasm@v1 + - uses: ilammy/setup-nasm@v1.5.1 - name: Update Submodules working-directory: ${{runner.workspace}}/grpc-labview @@ -66,7 +66,7 @@ jobs: labview_grpc_generator.dll - name: Upload Build Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: labview-grpc-server-windows-x86 path: labview-grpc-server-windows-x86.tar.gz