File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : build
2
+ on :
3
+ push :
4
+ branches :
5
+ - action
6
+ # pull_request:
7
+ defaults :
8
+ run :
9
+ shell : bash
10
+ env :
11
+ publisher : James Teh
12
+ jobs :
13
+ windows :
14
+ runs-on : windows-latest
15
+ steps :
16
+ - id : setup
17
+ name : setup
18
+ run : |
19
+ echo version=`date +%Y.%-m.%-d`.$((GITHUB_RUN_NUMBER + 2000)),${GITHUB_SHA:0:8} >> "$GITHUB_OUTPUT"
20
+ pip install scons
21
+ - uses : actions/checkout@v4
22
+ with :
23
+ submodules : true
24
+ - name : build
25
+ run : scons "publisher=$publisher" version=${{ steps.setup.outputs.version }}
26
+ mac :
27
+ runs-on : macos-latest
28
+ steps :
29
+ - uses : shivammathur/setup-php@v2
30
+ with :
31
+ php-version : 8.4
32
+ - id : setup
33
+ name : setup
34
+ run : |
35
+ echo version=`date +%Y.%-m.%-d`.$((GITHUB_RUN_NUMBER + 2000)),${GITHUB_SHA:0:8} >> "$GITHUB_OUTPUT"
36
+ pip install scons
37
+ - uses : actions/checkout@v4
38
+ with :
39
+ submodules : true
40
+ - name : build
41
+ run : scons "publisher=$publisher" version=${{ steps.setup.outputs.version }}
You can’t perform that action at this time.
0 commit comments