Skip to content

👷 enable test build for openwrt 23.05 #57

👷 enable test build for openwrt 23.05

👷 enable test build for openwrt 23.05 #57

Workflow file for this run

name: Build Packages
on:
pull_request:
branches:
- master
push:
jobs:
create_release:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Create Release
id: create_release
uses: shogo82148/actions-create-release@v1
with:
generate_release_notes: true
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
build:
name: Build on ${{ matrix.version }} for ${{ matrix.arch }}
if: ${{ always() }}
runs-on: ubuntu-latest
needs: create_release
strategy:
matrix:
arch: [arm_cortex-a15_neon-vfpv4]
version: [23.05, 22.03, 21.02]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Build ipk
uses: ttimasdf/gh-action-openwrt-build-package@master
env:
ARCH: ${{ matrix.arch }}-openwrt-${{ matrix.version }}
- name: Move ipks to ./build/ directory
run: mv bin/packages/*/action build
- name: Upload ipk packages
uses: actions/upload-artifact@v2
with:
name: luci-app-xray-openwrt-${{ matrix.version }}
# path: bin/packages/${{ matrix.arch }}/action/*.ipk
path: build/*.ipk
- uses: shogo82148/actions-upload-release-asset@v1
if: startsWith(github.ref, 'refs/tags/')
with:
upload_url: ${{ needs.create_release.outputs.upload_url }}
asset_path: build/*.ipk
asset_name: luci-app-xray_${{ github.ref_name }}-openwrt-${{ matrix.version }}.ipk