-
Notifications
You must be signed in to change notification settings - Fork 7
49 lines (45 loc) · 2.35 KB
/
build-linux-electron-beta.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# This is a basic workflow that is manually triggered
name: Build for Linux with Electron Beta
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "greet"
build-linux:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Runs a single command using the runners shell
- uses: actions/setup-node@v1
with:
node-version: '20'
- name: Install Nativefier
run: npm install -g nativefier
- name: Make Builds folder
run: mkdir builds && cd builds && pwd
- name: Build for arm
run: nativefier "https://youtube.com/tv" -u "Roku/DVP-9.10 (519.10E04111A)" -n "YouTube on TV" -p linux -a armv7l builds-e $(npm show electron@beta version)
- name: Build for arm64
run: nativefier "https://youtube.com/tv" -u "Roku/DVP-9.10 (519.10E04111A)" -n "YouTube on TV" -p linux -a arm64 builds -e $(npm show electron@beta version)
- name: Build for x64
run: nativefier "https://youtube.com/tv" -u "Roku/DVP-9.10 (519.10E04111A)" -n "YouTube on TV" -p linux -a x64 builds -e $(npm show electron@beta version)
- name: Build for ia32
run: nativefier "https://youtube.com/tv" -u "Roku/DVP-9.10 (519.10E04111A)" -n "YouTube on TV" -p linux -a ia32 builds -e $(npm show electron@beta version)
- name: Upload arm64 Build
uses: actions/upload-artifact@v2
with:
name: YouTubeonTV-linux-arm64
path: /home/runner/work/Nativefier-YouTube-on-TV-for-Desktop/Nativefier-YouTube-on-TV-for-Desktop/builds/YouTubeonTV-linux-arm64
- name: Upload x64 Build
uses: actions/upload-artifact@v2
with:
name: YouTubeonTV-linux-x64
path: /home/runner/work/Nativefier-YouTube-on-TV-for-Desktop/Nativefier-YouTube-on-TV-for-Desktop/builds/YouTubeonTV-linux-x64
- name: Upload ia32 Build
uses: actions/upload-artifact@v2
with:
name: YouTubeonTV-linux-ia32
path: /home/runner/work/Nativefier-YouTube-on-TV-for-Desktop/Nativefier-YouTube-on-TV-for-Desktop/builds/YouTubeonTV-linux-ia32