mirror of
https://github.com/e107inc/e107.git
synced 2025-02-22 15:55:39 +01:00
This has two benefits: 1. Protects the SQLite database from being accessed on the Internet by having the e107_INIT constant check. 2. Compresses the SQLite database, saving over ⅔ of the space!
36 lines
899 B
YAML
36 lines
899 B
YAML
name: Build Release
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
fail-fast: false
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Update operating system software repository
|
|
run: sudo apt-get update
|
|
|
|
- name: Install operating system dependencies
|
|
run: sudo apt-get install -y git tar gzip xz-utils zip php-cli
|
|
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Fetch version information
|
|
run: git fetch origin +refs/tags/*:refs/tags/* +refs/heads/*:refs/remotes/origin/*
|
|
|
|
- name: Run build script
|
|
run: php -dphar.readonly=0 e107_make.php
|
|
working-directory: ./.github/workflows/build-release/
|
|
|
|
- name: Upload build artifacts
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
name: release_files
|
|
path: ./.github/workflows/build-release/target/e107/release/ |