File tree Expand file tree Collapse file tree 2 files changed +45
-1
lines changed Expand file tree Collapse file tree 2 files changed +45
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Release Builds
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ build :
9
+
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+
15
+ - name : Setup PHP
16
+ uses : shivammathur/setup-php@v2
17
+ with :
18
+ php-version : 7.1
19
+ extensions : opcache, gd
20
+ coverage : none
21
+
22
+ - name : Install Dependencies
23
+ run : |
24
+ sudo apt-get -y update -qq < /dev/null > /dev/null
25
+ sudo apt-get -y install -qq git zip < /dev/null > /dev/null
26
+
27
+ - name : Retrieval of Builder Scripts
28
+ run : |
29
+ # Real Grav URL
30
+ curl --silent -H "Authorization: token ${{ secrets.GLOBAL_TOKEN }}" -H "Accept: application/vnd.github.v3.raw" ${{ secrets.BUILD_SCRIPT_URL }} --output build-grav.sh
31
+
32
+ # Development Local URL
33
+ # curl ${{ secrets.BUILD_SCRIPT_URL }} --output build-grav.sh
34
+
35
+ - name : Grav Builder
36
+ run : |
37
+ bash ./build-grav.sh
38
+
39
+ - name : Upload Grav Release Assets
40
+ id : upload-release-asset
41
+
42
+ env :
43
+ GITHUB_TOKEN : ${{ github.token }}
44
+ with :
45
+ asset_paths : ' ["./grav-dist/*.zip"]'
Original file line number Diff line number Diff line change 6
6
- ' 7.4'
7
7
branches :
8
8
only :
9
- - master
10
9
- build_test
11
10
notifications :
12
11
email :
You can’t perform that action at this time.
0 commit comments