-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (36 loc) · 909 Bytes
/
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
42
43
name: CD
on:
push:
branches: [ master ]
paths-ignore:
- '**/README.txt'
- '**/README.md'
pull_request:
branches: [ master ]
paths-ignore:
- '**/README.txt'
- '**/README.md'
jobs:
build:
name: Build and release Morpho
runs-on: windows-latest
steps:
- name: Checkout master branch
uses: actions/checkout@v2
with:
token: ${{ secrets.GH_TOKEN }}
submodules: true
- name: zip Examples
run: |
echo "Check"
ls deploy
echo "Create zip file"
Compress-Archive -Path deploy\examples\* -DestinationPath Examples.zip
- uses: actions/setup-node@v2
with:
node-version: 14
- name: Semantic release
uses: cycjimmy/semantic-release-action@v3
id: semantic
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}