-
-
Notifications
You must be signed in to change notification settings - Fork 12
39 lines (34 loc) · 1.11 KB
/
juno.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
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-20.04
container:
image: ghcr.io/elementary/docker:stable
env:
PACKAGES_TO_IMPORT_PATH: '/tmp/patched-packages'
steps:
- name: Checkout the import-list
uses: actions/checkout@v4
with:
ref: import-list-bionic
fetch-depth: 1
- name: Get the list of packages
run: |
cp bionic/packages_to_import $PACKAGES_TO_IMPORT_PATH
- name: Install dependencies and enable sources
run: |
sed -i 's/^\(Types: deb\)$/\1 deb-src/g' /etc/apt/sources.list.d/ubuntu.sources
apt update
apt install -y git python3-launchpadlib python3-apt python3-github python3-git
- name: Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Verify that we are shipping the latest version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.event.repository.name }}
run: python3 get-latest-version.py "bionic"