Skip to content

Commit

Permalink
Update GitHub Actions Third-Party Action Versions (#431)
Browse files Browse the repository at this point in the history
* Update GitHub Actions Versions from V3 to V4

* update Java actions version
  • Loading branch information
SaikrishnaBairamoni authored Nov 13, 2024
1 parent fbff092 commit e3f2b91
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Log in to the Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker Build Streets Service Base
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
push: true
build-args: |
Expand All @@ -28,7 +28,7 @@ jobs:
file: ./streets_service_base/Dockerfile
- name: Docker Build Streets Service Base Lanelet Aware
if: ${{ matrix.build_lanelet_aware }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
push: true
tags: usdotfhwastoldev/streets_service_base_lanelet_aware:${{ matrix.ubuntu-codename }}
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
make -j
make install
- name: Set up JDK 17
uses: actions/setup-java@v3 # The setup-java action provides the functionality for GitHub Actions runners for Downloading and setting up a requested version of Java
uses: actions/setup-java@v4 # The setup-java action provides the functionality for GitHub Actions runners for Downloading and setting up a requested version of Java
with:
java-version: 17
distribution: "temurin"
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
ldconfig
./coverage.sh
- name: Archive test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Test Results
path: /home/carma-streets/test_results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Install graphviz
run: sudo apt install graphviz && sudo dot -c
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v3
# Doxygen action for documentation of carma-platform source code by using mattnotmitt github actions workflow
- name: Doxygen Action
uses: mattnotmitt/doxygen-action@v1.9.4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/feature_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
make -j
make install
- name: Set up JDK 17
uses: actions/setup-java@v3 # The setup-java action provides the functionality for GitHub Actions runners for Downloading and setting up a requested version of Java
uses: actions/setup-java@v4 # The setup-java action provides the functionality for GitHub Actions runners for Downloading and setting up a requested version of Java
with:
java-version: 17
distribution: "temurin"
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
ldconfig
./coverage.sh
- name: Archive test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Test Results
path: /home/carma-streets/test_results
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Log in to the Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker Build Streets Service Base
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
push: true
build-args: |
Expand All @@ -28,7 +28,7 @@ jobs:
file: ./streets_service_base/Dockerfile
- name: Docker Build Streets Service Base Lanelet Aware
if: ${{ matrix.build_lanelet_aware }}
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
push: true
tags: usdotfhwastol/streets_service_base_lanelet_aware:${{ matrix.ubuntu-codename }}
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
make -j
make install
- name: Set up JDK 17
uses: actions/setup-java@v3 # The setup-java action provides the functionality for GitHub Actions runners for Downloading and setting up a requested version of Java
uses: actions/setup-java@v4 # The setup-java action provides the functionality for GitHub Actions runners for Downloading and setting up a requested version of Java
with:
java-version: 17
distribution: "temurin"
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
ldconfig
./coverage.sh
- name: Archive test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Test Results
path: /home/carma-streets/test_results
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Log in to the Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker Build Streets Service Base
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
push: true
build-args: |
Expand All @@ -29,7 +29,7 @@ jobs:
file: ./streets_service_base/Dockerfile
- name: Docker Build Streets Service Base Lanelet Aware
if: ${{ matrix.build_lanelet_aware }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
push: true
tags: usdotfhwastol/streets_service_base_lanelet_aware:${{ github.ref_name }}-${{ matrix.ubuntu-codename }}
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
make -j
make install
- name: Set up JDK 17
uses: actions/setup-java@v3 # The setup-java action provides the functionality for GitHub Actions runners for Downloading and setting up a requested version of Java
uses: actions/setup-java@v4 # The setup-java action provides the functionality for GitHub Actions runners for Downloading and setting up a requested version of Java
with:
java-version: 17
distribution: "temurin"
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
ldconfig
./coverage.sh
- name: Archive test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Test Results
path: /home/carma-streets/test_results
Expand Down

0 comments on commit e3f2b91

Please sign in to comment.