subsurface/.github/workflows/snap_usns.yml
Dirk Hohndel 0ccb762a09 build-system: disable the daily Snap build for now
Apparently these currently end up in a rebuild loop.

Suggested-by: Michał Sawicz <michal@sawicz.net>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-01-27 09:25:55 -08:00

37 lines
822 B
YAML

name: SnapUSNs
on:
workflow_dispatch
# schedule:
# - cron: '0 5 * * *'
jobs:
CheckUSNs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Python dependencies
uses: BSFishy/pip-action@v1
with:
requirements: .github/workflows/scripts/requirements.txt
- name: Install Snap dependencies
run: |
sudo snap install review-tools
- name: Set up Launchpad credentials
uses: DamianReeves/write-file-action@v1.0
with:
path: lp_credentials
contents: ${{ secrets.LAUNCHPAD_CREDENTIALS }}
- name: Check for USNs
run: .github/workflows/scripts/check_usns.py lp_credentials