-
Notifications
You must be signed in to change notification settings - Fork 6
41 lines (34 loc) · 1.03 KB
/
release.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
name: Release
on:
push:
branches:
- main
- develop
jobs:
release:
name: Release Version
runs-on: "ubuntu-latest"
environment: production
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-java@v3
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '11'
- uses: shivammathur/setup-php@v2
with:
php-version: "7.3"
coverage: none
tools: composer:v2
- name: Install Composer Dependencies
run: composer install -q --profile --ignore-platform-reqs --no-interaction --no-ansi --no-scripts --no-suggest --prefer-dist
- name: Install Yarn dependencies
run: yarn install --cwd=release
- name: Release
run: ./release/node_modules/.bin/semantic-release --extends ./release/.releaserc.js
env:
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
HUSKY: 0