-
Notifications
You must be signed in to change notification settings - Fork 3
44 lines (38 loc) · 1015 Bytes
/
build-check.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
name: Recurring Build Check
on:
schedule:
# Runs at 10:00 UTC every Sunday
- cron: "0 10 * * 0"
push:
branches:
- main
workflow_dispatch:
jobs:
build-check:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
lfs: true
- name: Install Docker
uses: docker/setup-docker-action@v4
- name: Build and test DevContainer
uses: devcontainers/ci@v0.3
with:
push: never
imageName: vsctex
runCmd: |
if [[ "$(service --status-all 2>&1)" != *"[ ? ] devContainerService"* ]]; then exit 1; fi
- name: Upload resulting document
uses: actions/upload-artifact@v4
with:
name: document_template
path: ./main.pdf
if-no-files-found: 'error'
retention-days: 14
compression-level: 9