mirror of
https://github.com/silenty4ng/uv-k5-firmware-chinese-lts
synced 2025-01-15 14:54:40 +00:00
Optimize workflow
This commit is contained in:
parent
c57b13e6aa
commit
cc4d5b75a9
1 changed files with 10 additions and 13 deletions
23
.github/workflows/docker-image.yml
vendored
23
.github/workflows/docker-image.yml
vendored
|
@ -7,18 +7,15 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: archlinux:latest
|
image: archlinux:latest
|
||||||
steps:
|
steps:
|
||||||
- name: base-devel
|
- name: Install dependencies
|
||||||
run: pacman -Syyu base-devel --noconfirm
|
run: |
|
||||||
- name: arm-none-eabi-gcc
|
pacman -Syyu --noconfirm \
|
||||||
run: pacman -Syyu arm-none-eabi-gcc --noconfirm
|
base-devel \
|
||||||
- name: arm-none-eabi-newlib
|
arm-none-eabi-gcc \
|
||||||
run: pacman -Syyu arm-none-eabi-newlib --noconfirm
|
arm-none-eabi-newlib \
|
||||||
- name: git
|
git \
|
||||||
run: pacman -Syyu git --noconfirm
|
python-pip \
|
||||||
- name: python-pip
|
python-crcmod
|
||||||
run: pacman -Syyu python-pip --noconfirm
|
|
||||||
- name: python-crcmod
|
|
||||||
run: pacman -Syyu python-crcmod --noconfirm
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -30,7 +27,7 @@ jobs:
|
||||||
- name: size
|
- name: size
|
||||||
run: arm-none-eabi-size firmware
|
run: arm-none-eabi-size firmware
|
||||||
|
|
||||||
- name: 'Upload Artifact'
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: firmware
|
name: firmware
|
||||||
|
|
Loading…
Reference in a new issue