Skip to content

.github/workflows/horus.yml #752

.github/workflows/horus.yml

.github/workflows/horus.yml #752

Workflow file for this run

on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
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-jammy
fetch-depth: 1
- name: Get the list of packages
run: |
cp jammy/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 "jammy"