forked from jwmullally/openwrt_wpa8630p_v2_fullmem
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (30 loc) · 1021 Bytes
/
build_release_images.yml
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
name: Build-Release-Images
on:
push:
tags:
- 'v*'
- 'snapshot*'
workflow_dispatch: {}
jobs:
build-release-images:
name: Build and Release Firmware Images
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build firmware images
run: 'make images CURL_OPTS="-s"'
- name: Release
uses: softprops/action-gh-release@v1
with:
body: |
Automated release. Please see the project README.md for more information.
[Build logs.](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
prerelease: True
files: |
openwrt-imagebuilder-*/bin/targets/*/*/openwrt-*.bin
openwrt-imagebuilder-*/bin/targets/*/*/openwrt-*.manifest
openwrt-imagebuilder-*/bin/targets/*/*/sha256sums
openwrt-imagebuilder-*/bin/targets/*/*/profiles.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}