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 1919
2020jobs :
2121 ubuntu-build :
22- runs-on : ubuntu-latest
22+ runs-on : ubuntu-22.04
2323 steps :
2424 - name : Set environment
2525 run : echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV
2626 shell : bash
2727 - uses : actions/checkout@v3
2828 with :
2929 submodules : recursive
30- fetch-depth : 0
3130 - name : Install dependencies
3231 run : sudo apt install clang cmake snap libsqlite3-dev -y && sudo snap install powershell --classic
3332 - name : Check compilation
6665 - uses : actions/checkout@v3
6766 with :
6867 submodules : recursive
69- fetch-depth : 0
7068 - name : Check compilation
7169 run : |
7270 $versions = "104", "728", "1013"
@@ -112,17 +110,14 @@ jobs:
112110 path : bin
113111
114112 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')
116114 runs-on : ubuntu-latest
117115 needs : [windows-build, ubuntu-build]
118116 env :
119117 BOT_SSH_KEY : ${{ secrets.BOT_SSH_KEY }}
120118 ENDPOINT : ${{ secrets.ENDPOINT }}
121119 steps :
122120 - uses : actions/checkout@v3
123- with :
124- submodules : recursive
125- fetch-depth : 0
126121 - run : |
127122 GITDESC=$(git describe --tags)
128123 mkdir $GITDESC
You can’t perform that action at this time.
0 commit comments