This repository has been archived by the owner on Dec 12, 2020. It is now read-only.
forked from cross-platform/icloud-for-linux
-
Notifications
You must be signed in to change notification settings - Fork 29
82 lines (72 loc) · 2.24 KB
/
snapcraft.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: snapcraft
on:
push:
branches:
- master
jobs:
stable:
runs-on: ubuntu-18.04
container:
image: snapcore/snapcraft
steps:
- uses: actions/checkout@v1
- name: Upgrade Snapcraft Docker container to Bionic to get qml-module-qtwebengine
run: |
sudo sed -i 's/xenial/bionic/g' /etc/apt/sources.list
sudo apt update
sudo apt -y dist-upgrade
- name: Build .snap
run: |
snapcraft
# - name: Push .snap to Snapcraft.io
# env:
# SNAPCRAFT_LOGIN_FILE: ${{ secrets.SNAPCRAFT_LOGIN_FILE }}
# run: |
# mkdir .snapcraft
# echo ${SNAPCRAFT_LOGIN_FILE} | base64 --decode --ignore-garbage > .snapcraft/snapcraft.cfg
# snapcraft push --release=stable *.snap
#beta:
# runs-on: ubuntu-18.04
# container:
# image: snapcore/snapcraft
# steps:
# - uses: actions/checkout@v1
# - name: Upgrade Snapcraft Docker container to Eoan to get qml-module-qtwebengine
# run: |
# sudo sed -i 's/xenial/disco/g' /etc/apt/sources.list
# sudo apt update
# sudo apt -y dist-upgrade
# sudo apt-get -y install wget
# - name: Build .snap
# run: |
# snapcraft
# - name: Push .snap to Snapcraft.io
# env:
# SNAPCRAFT_LOGIN_FILE: ${{ secrets.SNAPCRAFT_LOGIN_FILE }}
# run: |
# cd snap
# mkdir .snapcraft
# echo ${SNAPCRAFT_LOGIN_FILE} | base64 --decode --ignore-garbage > .snapcraft/snapcraft.cfg
# snapcraft push --release=beta *.snap
# edge:
# runs-on: ubuntu-18.04
# container:
# image: snapcore/snapcraft
# steps:
# - uses: actions/checkout@v1
# - name: Upgrade Snapcraft Docker container to Focal to get qml-module-qtwebengine
# run: |
# sudo sed -i 's/xenial/focal/g' /etc/apt/sources.list
# sudo apt update
# sudo apt -y dist-upgrade
# - name: Build .snap
# run: |
# snapcraft
# - name: Push .snap to Snapcraft.io
# env:
# SNAPCRAFT_LOGIN_FILE: ${{ secrets.SNAPCRAFT_LOGIN_FILE }}
# run: |
# cd snap
# mkdir .snapcraft
# echo ${SNAPCRAFT_LOGIN_FILE} | base64 --decode --ignore-garbage > .snapcraft/snapcraft.cfg
# snapcraft push --release=edge *.snap