Skip to content

Commit

Permalink
Update to EDK2 latest
Browse files Browse the repository at this point in the history
* Also update yml to take care of deprecated items.
* Also update readme badge per badges/shields#8671.
  • Loading branch information
pbatard committed Dec 16, 2022
1 parent 02bc9ce commit cbdf299
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 21 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/linux_edk2.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2021, Pete Batard <[email protected]>
# Copyright (c) 2021-2022, Pete Batard <[email protected]>
# SPDX-License-Identifier: BSD-3-Clause

name: UEFI firmware - EDK2 build
Expand Down Expand Up @@ -27,10 +27,12 @@ jobs:
steps:
- name: Set version
id: set_version
run: echo "::set-output name=version::${GITHUB_REF/refs\/tags\//}"
run: echo "version=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT

- name: Set up Linux environment
run: sudo apt install acpica-tools gcc-aarch64-linux-gnu python3-distutils uuid-dev
run: |
sudo apt-get update
sudo apt-get install acpica-tools gcc-aarch64-linux-gnu
- name: Check out EDK2 repositories
uses: actions/checkout@v2
Expand Down Expand Up @@ -96,22 +98,11 @@ jobs:

- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v1
with:
draft: false
prerelease: false
release_name: ${{ steps.set_version.outputs.version }}
token: ${{ secrets.GITHUB_TOKEN }}
body: Raspberry Pi 4 UEFI Firmware ${{ steps.set_version.outputs.version }}
tag_name: ${{ steps.set_version.outputs.version }}

- name: Upload release assets
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: RPi4_UEFI_Firmware_${{ steps.set_version.outputs.version }}.zip
asset_name: RPi4_UEFI_Firmware_${{ steps.set_version.outputs.version }}.zip
asset_content_type: application/zip
files: RPi4_UEFI_Firmware_${{ steps.set_version.outputs.version }}.zip
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Raspberry Pi 4 UEFI Firmware Images
===================================

[![Build status](https://img.shields.io/github/workflow/status/pftf/RPi4/UEFI%20firmware%20-%20EDK2%20build.svg?style=flat-square)](https://github.com/pftf/RPi4/actions)
[![Build status](https://img.shields.io/github/actions/workflow/status/pftf/RPi4/linux_edk2.yml?branch=master&style=flat-square)](https://github.com/pftf/RPi4/actions)
[![Github stats](https://img.shields.io/github/downloads/pftf/RPi4/total.svg?style=flat-square)](https://github.com/pftf/RPi4/releases)
[![Release](https://img.shields.io/github/release-pre/pftf/RPi4?style=flat-square)](https://github.com/pftf/RPi4/releases)

Expand Down
2 changes: 1 addition & 1 deletion edk2
Submodule edk2 updated 1326 files
2 changes: 1 addition & 1 deletion edk2-platforms
Submodule edk2-platforms updated 933 files

0 comments on commit cbdf299

Please sign in to comment.