-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 950 Bytes
/
latest.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
---
name: "Pre-release"
on:
push:
branches:
- "main"
tags-ignore:
- "*"
jobs:
release:
runs-on: "ubuntu-latest"
if: '!github.event.deleted'
steps:
- uses: actions/checkout@master
- name: Installing PHP
uses: shivammathur/setup-php@master
with:
php-version: 7.3
ini-values: phar.readonly=Off
- name: Install dependencies
run: composer install --no-dev --no-interaction --no-progress
- name: Build phar
run: |
wget https://github.com/box-project/box2/releases/download/2.7.5/box-2.7.5.phar
php box-2.7.5.phar build --no-interaction
mv dais-*.phar dais-latest.phar
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
automatic_release_tag: "latest"
title: "Development Build"
files: |
dais-*.phar