Skip to content

Update compile.sh

Update compile.sh #93

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: env prepare
run: |
sudo -E apt-get update
sudo -E apt-get install build-essential libncurses5-dev libncursesw5-dev zlib1g-dev gawk git gettext libssl-dev xsltproc wget unzip
- name: run compile.sh
run: |
sudo chmod +x ./compile.sh
./compile.sh
- name: Assemble artifact
run: |
rm -rf ./artifact/
mkdir -p ./artifact/
find ./ -name "*sysupgrade*bin*" | xargs -i mv -f {} ./artifact/
- name: Upload artifact
uses: actions/upload-artifact@master
with:
name: OpenWrt firmware
path: ./artifact/