-
Notifications
You must be signed in to change notification settings - Fork 21
42 lines (36 loc) · 1.1 KB
/
build-sample.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
# GithHub Actions Workflow generated with Ghygen
# Original configuration: https://ghygen.hi-folks.dev?code=9b81e1e3da1cb050602d306067ce1f47
name: Build pdf via ibis
on:
push:
branches:
- main
jobs:
laravel-tests:
runs-on: ubuntu-latest
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: [ '8.0' ]
dependency-stability: [ 'prefer-none' ]
name: P${{ matrix.php-versions }} - L${{ matrix.laravel }} - ${{ matrix.dependency-stability }} - ${{ matrix.operating-system}}
steps:
- uses: actions/checkout@v2
- name: Install PHP versions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Install IBIS
run: |
composer require themsaid/ibis
mkdir export
- name: Build Sample eBook
run: |
vendor/bin/ibis build
vendor/bin/ibis sample
- name: 'Upload Artifact'
uses: actions/upload-artifact@v2
with:
name: sample-pdf-50-drops-of-php
path: export/sample-.50-drops-of-php-light.pdf
retention-days: 1