Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

remove ifup & upload mwan3 sec plan #36

remove ifup & upload mwan3 sec plan

remove ifup & upload mwan3 sec plan #36

Workflow file for this run

name: CI
on:
push:
branches:
- dev
- master
tags:
- '*'
jobs:
openwrt:
name: OpenWrt package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup version code
run: |
sed -i 's/PKG_VERSION:=master/PKG_VERSION:=v${{ github.ref_name }}/' build/openwrt/openwrt-esfshell/Makefile
sed -i 's/PKG_RELEASE:=1/PKG_RELEASE:=${{ github.run_number }}/' build/openwrt/openwrt-esfshell/Makefile
- name: Build OpenWrt package
uses: openwrt/gh-action-sdk@main
env:
ARCH: x86_64-master
PACKAGES: openwrt-esfshell
FEED_DIR: ${{ github.workspace }}/build/openwrt
- name: Upload compiled package
uses: actions/upload-artifact@v3
with:
name: openwrt-esfshell
path: bin/packages/x86_64/action/*.ipk
upload-release:
name: Upload releases
permissions:
contents: write
needs:
- openwrt
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: openwrt-esfshell
- name: Release
uses: softprops/action-gh-release@v1
if: github.ref != 'refs/heads/master'
with:
name: EsurfingShell v${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
draft: true
files: |
*.ipk