File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 19
19
20
20
jobs :
21
21
ubuntu-build :
22
- runs-on : ubuntu-latest
22
+ runs-on : ubuntu-22.04
23
23
steps :
24
24
- name : Set environment
25
25
run : echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV
26
26
shell : bash
27
27
- uses : actions/checkout@v3
28
28
with :
29
29
submodules : recursive
30
- fetch-depth : 0
31
30
- name : Install dependencies
32
31
run : sudo apt install clang cmake snap libsqlite3-dev -y && sudo snap install powershell --classic
33
32
- name : Check compilation
66
65
- uses : actions/checkout@v3
67
66
with :
68
67
submodules : recursive
69
- fetch-depth : 0
70
68
- name : Check compilation
71
69
run : |
72
70
$versions = "104", "728", "1013"
@@ -112,17 +110,14 @@ jobs:
112
110
path : bin
113
111
114
112
copy-artifacts :
115
- if : github.event_name != 'pull_request' && github.ref == 'refs/heads/ master'
113
+ if : github.event_name != 'pull_request' && ( github.ref_type == 'tag' || github.ref_name == ' master')
116
114
runs-on : ubuntu-latest
117
115
needs : [windows-build, ubuntu-build]
118
116
env :
119
117
BOT_SSH_KEY : ${{ secrets.BOT_SSH_KEY }}
120
118
ENDPOINT : ${{ secrets.ENDPOINT }}
121
119
steps :
122
120
- uses : actions/checkout@v3
123
- with :
124
- submodules : recursive
125
- fetch-depth : 0
126
121
- run : |
127
122
GITDESC=$(git describe --tags)
128
123
mkdir $GITDESC
You can’t perform that action at this time.
0 commit comments