-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 1.41 KB
/
run.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Download OVMF
on:
schedule:
- cron: '0 0 * * *'
push:
workflow_dispatch:
jobs:
download:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: sudo apt install wget -y
- name: Check out repository code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Git config
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Download aarch64 ovmf
run: wget -O OVMF_AA64.fd https://retrage.github.io/edk2-nightly/bin/RELEASEAARCH64_QEMU_EFI.fd
- name: Download x86_64 ovmf
run: wget -O OVMF_X64.fd https://retrage.github.io/edk2-nightly/bin/RELEASEX64_OVMF.fd
- name: Download arm ovmf
run: wget -O OVMF_ARM.fd https://retrage.github.io/edk2-nightly/bin/RELEASEARM_QEMU_EFI.fd
- name: Download ia32 ovmf
run: wget -O OVMF_IA32.fd https://retrage.github.io/edk2-nightly/bin/RELEASEIa32_OVMF.fd
- name: Push
run: |
git config user.name 'ilobilo'
git config user.email 'ilobilo@users.noreply.github.com'
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/ilobilo/ovmf-binaries.git
git fetch --all
git reset --mixed 90877e01ff6a858085c560454e7405a0311ff790
git add .
git commit -m "Upload binaries [ci skip]"
git push --force origin master