Skip to content

Commit

Permalink
use checkout@v3 in case of ubuntu 18.04
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecosta90 committed Nov 24, 2024
1 parent bce9165 commit 9b66155
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ jobs:
container: ${{ matrix.image }}
name: Build ${{ matrix.image }}
steps:
- uses: ${{ matrix.image == 'ubuntu:18.04' && 'actions/checkout@v3' || 'actions/checkout@v4' }}
- name: Checkout Code for ubuntu:bionic
if: matrix.image == 'ubuntu:bionic'
uses: actions/checkout@v3

- name: Checkout Code for other versions
if: matrix.image != 'ubuntu:bionic'
uses: actions/checkout@v4
- name: Install dependencies
run: |
apt-get -qq update -y
Expand Down

0 comments on commit 9b66155

Please sign in to comment.