Skip to content

Commit

Permalink
CI: Use actions/checkout to get submodules
Browse files Browse the repository at this point in the history
* The 'submodules' option also shallow clones the git submodules which reduces some time.
* Also bump the checkout and upload-artifact actions version.
* Closes #229
  • Loading branch information
Biswa96 authored and pbatard committed Jun 2, 2023
1 parent a65c69d commit e4ca1fc
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/linux_edk2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

name: UEFI firmware - EDK2 build

on:
on:
push:
tags:
- '*'
Expand Down Expand Up @@ -35,10 +35,9 @@ jobs:
sudo apt-get install acpica-tools gcc-aarch64-linux-gnu
- name: Check out EDK2 repositories
uses: actions/checkout@v2

- name: Check out EDK2 submodules
run: git submodule update --init --recursive
uses: actions/checkout@v3
with:
submodules: recursive

- name: Patch EDK2 repositories
run: |
Expand Down Expand Up @@ -72,7 +71,7 @@ jobs:
cp Build/RPi4/RELEASE_${{ env.COMPILER }}/FV/RPI_EFI.fd .
- name: Upload UEFI firmware artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: RPi4 UEFI Firmware ${{ steps.set_version.outputs.version }} Artifacts
path: |
Expand Down

0 comments on commit e4ca1fc

Please sign in to comment.