build openwrt images #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Action to build openwrt images | |
--- | |
name: build openwrt images | |
on: | |
# Allows manual workflow run (must in default branch to work) | |
workflow_dispatch: | |
jobs: | |
build-openwrt-images: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: build | |
run: | | |
#sudo install \ | |
# --owner=1000 \ | |
# --group=1000 \ | |
# --directory ${{ github.workspace }}/bin/ | |
./build.sh | |
# - name: Release | |
# uses: softprops/action-gh-release@v2 | |
# with: | |
# files: ${{ github.workspace }}/bin/* | |
- name: Upload image artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: openwrt-images | |
path: build-output |