forked from dpowers86/debian-live
-
-
Notifications
You must be signed in to change notification settings - Fork 903
37 lines (30 loc) · 990 Bytes
/
build-ezopwrt.yml
File metadata and controls
37 lines (30 loc) · 990 Bytes
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
32
33
34
35
36
37
name: "Build EzOpWrt Installer ISO"
on:
workflow_dispatch:
jobs:
build-release:
name: "Build and Release"
runs-on: "ubuntu-22.04"
steps:
- name: "Get Date"
run: |
echo "DATESTAMP=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
- name: "Checking out git repository"
uses: actions/checkout@v2
- name: Set executable permissions
run: |
chmod +x ${{ github.workspace }}/ezopwrt.sh
chmod +x ${{ github.workspace }}/supportFiles/ezopwrt/build.sh
- name: "Build Image"
run: |
./ezopwrt.sh
- name: "Publish"
uses: softprops/action-gh-release@v2.2.1
with:
tag_name: "EzOpWrt-Installer-x86_64-ISO"
body_path: ${{ github.workspace }}/supportFiles/ezopwrt/info.md
files: |
output/ezopwrt-installer-x86_64.iso
token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}