Skip to content

Commit

Permalink
Updated various github action's versions (#367)
Browse files Browse the repository at this point in the history
* Updated github workflows

* Fixed ilammy/msvc-dev-cmd version

* Fixed actions/checkout version
  • Loading branch information
yash-ni authored Jul 12, 2024
1 parent add68a6 commit e5b4bd8
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_on_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Update Submodules
shell: bash
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build_on_rt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build_release_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update_vipb_on_publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/windows_x64_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/windows_x86_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e5b4bd8

Please sign in to comment.