-
-
Notifications
You must be signed in to change notification settings - Fork 15
57 lines (48 loc) · 1.53 KB
/
release.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
50
51
52
53
54
55
56
name: Release
on:
schedule:
- cron: "5 */12 * * *"
push:
branches:
- "master"
jobs:
Build:
runs-on: ubuntu-latest
strategy:
matrix:
product: ['firefox', 'firefox-beta', 'firefox-esr', 'firefox-nightly', 'firefox-devedition']
env:
FIREFOX_PRODUCT: ${{ matrix.product }}
FIREFOX_OS: 'linux64'
FIREFOX_LANG: 'en-US'
steps:
- uses: actions/checkout@v2
- name: Build ${{ matrix.product }}
run: |
bash build/build.sh
echo "$FIREFOX_VERSION.r$FIREFOX_BUILD_ID"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.product }}-continuous.AppImage
path: 'dist'
- name: Release Tagged
uses: marvinpinto/action-automatic-releases@latest
with:
title: ${{ matrix.product }} v${{ env.FIREFOX_VERSION }}.r${{ env.FIREFOX_BUILD_ID }}
automatic_release_tag: ${{ env.FIREFOX_PRODUCT }}-v${{ env.FIREFOX_VERSION }}.r${{ env.FIREFOX_BUILD_ID }}
prerelease: true
draft: false
files: |
dist
repo_token: ${{ secrets.GITHUB_TOKEN }}
- name: Release Continuous
uses: marvinpinto/action-automatic-releases@latest
with:
title: Latest Continous build for ${{ matrix.product }} v${{ env.FIREFOX_VERSION }}.r${{ env.FIREFOX_BUILD_ID }}
automatic_release_tag: ${{ env.FIREFOX_PRODUCT }}
prerelease: false
draft: false
files: |
dist
repo_token: ${{ secrets.GITHUB_TOKEN }}