forked from mglaman/drupalorg-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (34 loc) · 919 Bytes
/
release.yml
File metadata and controls
42 lines (34 loc) · 919 Bytes
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
name: "Create release"
on:
push:
tags:
- '*'
concurrency: release
jobs:
deploy:
name: "Deploy"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v3"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "8.1"
- name: "Install dependencies"
run: "composer install --no-interaction --no-progress --no-suggest --no-dev"
- name: Build phar
run: |
composer run box-install
composer run box-build
composer run box-info
- name: "Create release"
id: create-release
uses: softprops/action-gh-release@v1
with:
draft: true
files: drupalorg.phar
token: ${{ secrets.GITHUB_TOKEN }}
generate_release_notes: true
fail_on_unmatched_files: true