Skip to content

Commit 0a0955c

Browse files
authored
CI: Create dev packages for PRs (#73)
1 parent bea92ca commit 0a0955c

3 files changed

Lines changed: 42 additions & 3 deletions

File tree

.github/workflows/PR_bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Comment on pull request
22
on:
33
workflow_run:
4-
workflows: ['Package']
4+
workflows: ['Pull_req']
55
types: [completed]
66
jobs:
77
pr_comment:

.github/workflows/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Package
33
on:
44
push:
55
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
86

97
workflow_dispatch:
108

.github/workflows/pull.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Pull_req
2+
3+
on: pull_request
4+
5+
jobs:
6+
Chromium:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
with:
12+
# pulls all commits (needed for commits to version)
13+
fetch-depth: 0
14+
15+
- name: Make package
16+
run: bash scripts/chromium.sh
17+
18+
- name: Upload Package Artifact
19+
uses: actions/upload-artifact@v2.2.4
20+
with:
21+
name: FastForward_chromium
22+
path: build/dist
23+
if-no-files-found: error
24+
25+
Firefox:
26+
runs-on: ubuntu-latest
27+
28+
steps:
29+
- uses: actions/checkout@v2
30+
with:
31+
fetch-depth: 0
32+
33+
- name: Make package
34+
run: bash scripts/firefox.sh
35+
36+
- name: Upload Package Artifact
37+
uses: actions/upload-artifact@v2.2.4
38+
with:
39+
name: FastForward_firefox
40+
path: build/dist
41+
if-no-files-found: error

0 commit comments

Comments
 (0)