This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d31c71b
Showing
2 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: release | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install github-release | ||
run: | | ||
sudo wget https://github.com/github-release/github-release/releases/download/v0.9.0/linux-amd64-github-release.bz2 -O /usr/local/bin/github-release.bz2 | ||
sudo bunzip2 /usr/local/bin/github-release.bz2 | ||
sudo chmod 0755 /usr/local/bin/github-release | ||
- name: Install syslinux-efi | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y syslinux-efi | ||
- name: Generate efi.img | ||
run: | | ||
mkdir -p EFI/BOOT | ||
cp /usr/lib/SYSLINUX.EFI/efi64/syslinux.efi EFI/BOOT/BOOTX64.EFI | ||
cp /usr/lib/syslinux/modules/efi64/ldlinux.e64 EFI/BOOT/LDLINUX.E64 | ||
dd if=/dev/zero of=efi.img bs=1M count=3 | ||
mkdosfs -n ESP efi.img | ||
mkdir -p efi-img | ||
sudo mount -o loop efi.img efi-img | ||
sudo cp -r EFI efi-img/ | ||
sudo umount efi-img | ||
- name: Release efi.img | ||
run: | | ||
VERSION=`date +%Y-%m-%d` | ||
github-release release --user burmilla --repo os-uefi --tag ${VERSION} --pre-release | ||
github-release upload --user burmilla --repo os-uefi --tag ${VERSION} --file efi.img --name efi.img | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.OS_RELEASE_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# UEFI | ||
|
||
UEFI boot files for [BurmillaOS](//github.com/burmilla/os) | ||
|
||
## License | ||
|
||
Copyright (c) 2020-2021 Project Burmilla | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |