This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
Build Vapor image #65
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Vapor image | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * 1' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
env: | |
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
php: | |
- 8.1 | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 1 | |
- name: Setup PHP | |
uses: shivammathur/[email protected] | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: curl, libxml, mbstring, zip, pcntl, pdo, pdo_mysql, pdo_sqlite, bcmath, intl, gd, exif, iconv, json, ctype, mongodb, redis | |
coverage: none | |
tools: composer:v2 | |
- name: Build image | |
run: bash build.sh php81 | |