mirror of
https://github.com/Slava-Shchipunov/awg-openwrt.git
synced 2026-03-19 11:25:49 +00:00
38 lines
865 B
YAML
38 lines
865 B
YAML
name: Release compiled assets
|
|
# on: [workflow_dispatch]
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*.*.*"
|
|
|
|
jobs:
|
|
build:
|
|
name: "${{ matrix.tag }} - ${{ matrix.build_env.pkgarch}} :: ${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}} build"
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
tag: ['v23.05.0']
|
|
build_env:
|
|
- pkgarch: mipsel_24kc
|
|
target: ramips
|
|
subtarget: mt7621
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
repository: openwrt/openwrt
|
|
ref: ${{ matrix.tag }}
|
|
fetch-depth: 0
|
|
|
|
- name: Validate checked out repository
|
|
run: |
|
|
ls -al
|
|
git branch -v
|
|
|
|
- name: Release
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
name: "test release"
|
|
files: |
|
|
version
|
|
config
|