forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 1
executable file
·40 lines (35 loc) · 1.21 KB
/
openwrt.yml
File metadata and controls
executable file
·40 lines (35 loc) · 1.21 KB
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
name: Release
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Install Buid Env
run: |
sudo apt-get update
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint
- name: Update Feeds
run: |
./scripts/feeds update -a
./scripts/feeds install -a
- name: Clone Config
run: |
wget https://raw.githubusercontent.com/breakersun/docker-openwrt/master/.config
- name: Clone Clash
run: |
cd ./package
mkdir mypackages
cd ./mypackages
git clone https://github.com/vernesong/OpenClash.git
- name: Build
run: |
make -j4
- name: Release/Publish BIN
uses: skx/github-action-publish-binaries@release-1.2
env:
GITHUB_TOKEN: ${{ secrets.MY_TOKEN }}
with:
args: './bin/targets/armvirt/64/openwrt-armvirt-64-default-rootfs.tar.gz'