-
Notifications
You must be signed in to change notification settings - Fork 1
60 lines (45 loc) · 1.38 KB
/
build.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Run Builds
on:
push:
schedule:
- cron: "* * */1 * *"
permissions:
contents: write
jobs:
build:
name: Run Builds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv
coverage: none
- name: Run composer install
run: composer install -n --prefer-dist
- name: Run phar build
run: php dockerfile-laravel app:build dockerfile-laravel --build-version=1.0.4
- name: Run all oses builds
run: vendor/bin/haulable builds/dockerfile-laravel --platform="All Platforms"
- uses: actions/upload-artifact@v4
with:
name: windows_x64-artifact
path: windows_x64/
- uses: actions/upload-artifact@v4
with:
name: linux_aarch64-artifact
path: linux_aarch64/
- uses: actions/upload-artifact@v4
with:
name: linux_x86_64-artifact
path: linux_x86_64/
- uses: actions/upload-artifact@v4
with:
name: macos_apple-artifact
path: macos_apple/
- uses: actions/upload-artifact@v4
with:
name: macos_intel-artifact
path: macos_intel/