From a10ee29b4ca3b2bcd0347bf0738d45d7b3ef0acd Mon Sep 17 00:00:00 2001 From: "yash.chauhan" Date: Thu, 4 Jul 2024 14:52:09 +0530 Subject: [PATCH 1/3] Updated github workflows --- .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 | 6 +++--- 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build_on_linux.yml b/.github/workflows/build_on_linux.yml index 571fdc5e..d69f8786 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@v5 - 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..8c1f855b 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.13.1 + - 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..9fec2402 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: actions/checkout@v4 - uses: ilammy/msvc-dev-cmd@v1.4.1 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 From 77021d242cd5177cf56c38760d5374baf2f91fad Mon Sep 17 00:00:00 2001 From: "yash.chauhan" Date: Thu, 4 Jul 2024 14:56:01 +0530 Subject: [PATCH 2/3] Fixed ilammy/msvc-dev-cmd version --- .github/workflows/windows_x64_build.yml | 2 +- .github/workflows/windows_x86_build.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows_x64_build.yml b/.github/workflows/windows_x64_build.yml index 8c1f855b..eaa4ba9f 100644 --- a/.github/workflows/windows_x64_build.yml +++ b/.github/workflows/windows_x64_build.yml @@ -18,7 +18,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: ilammy/msvc-dev-cmd@v1.13.1 + - uses: ilammy/msvc-dev-cmd@v1 - uses: ilammy/setup-nasm@v1.5.1 - name: Update Submodules diff --git a/.github/workflows/windows_x86_build.yml b/.github/workflows/windows_x86_build.yml index 9fec2402..c6ae0676 100644 --- a/.github/workflows/windows_x86_build.yml +++ b/.github/workflows/windows_x86_build.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: ilammy/msvc-dev-cmd@v1.4.1 + - uses: ilammy/msvc-dev-cmd@v1 with: arch: x86 - uses: ilammy/setup-nasm@v1.5.1 From 33a9f91829eab05c6f0d9d4faecf2f6bfe113837 Mon Sep 17 00:00:00 2001 From: "yash.chauhan" Date: Thu, 4 Jul 2024 14:58:20 +0530 Subject: [PATCH 3/3] Fixed actions/checkout version --- .github/workflows/build_on_linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_on_linux.yml b/.github/workflows/build_on_linux.yml index d69f8786..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@v5 + - uses: actions/checkout@v4 - name: Update Submodules shell: bash