File tree Expand file tree Collapse file tree 3 files changed +10
-15
lines changed Expand file tree Collapse file tree 3 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 9
9
version-check :
10
10
# We need this job to run only on push with tag.
11
11
if : ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
12
- runs-on : ubuntu-24 .04
12
+ runs-on : ubuntu-22 .04
13
13
steps :
14
14
- name : Check module version
15
15
uses : tarantool/actions/check-module-version@master
18
18
19
19
publish-scm-1 :
20
20
if : github.ref == 'refs/heads/master'
21
- runs-on : ubuntu-24 .04
21
+ runs-on : ubuntu-22 .04
22
22
steps :
23
23
- uses : actions/checkout@v4
24
24
- uses : tarantool/rocks.tarantool.org/github-action@master
@@ -29,13 +29,13 @@ jobs:
29
29
publish-tag :
30
30
if : startsWith(github.ref, 'refs/tags/')
31
31
needs : version-check
32
- runs-on : ubuntu-24 .04
32
+ runs-on : ubuntu-22 .04
33
33
steps :
34
34
- uses : actions/checkout@v4
35
35
36
36
- uses : tarantool/setup-tarantool@v3
37
37
with :
38
- tarantool-version : ' 2.10 '
38
+ tarantool-version : ' 2.11 '
39
39
- run : echo $PWD/.rocks/bin >> $GITHUB_PATH
40
40
41
41
# Make a release
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ on: [push]
4
4
5
5
jobs :
6
6
all :
7
- runs-on : ubuntu-24 .04
7
+ runs-on : ubuntu-22 .04
8
8
timeout-minutes : 10
9
9
env :
10
10
DOWNLOAD_TOKEN : ${{ secrets.DOWNLOAD_TOKEN }}
@@ -19,12 +19,14 @@ jobs:
19
19
- name : Checkout sources
20
20
uses : actions/checkout@v4
21
21
22
- - name : Install sdk
23
- run : make sdk
22
+ - name : Install tarantool
23
+ uses : tarantool/setup-tarantool@v3
24
+ with :
25
+ tarantool-version : ' 2.11'
24
26
25
27
- name : Install rocks
26
28
shell : bash
27
- run : source sdk/env.sh && make .rocks
29
+ run : make .rocks
28
30
29
31
- name : Run tests
30
32
run : make test
Original file line number Diff line number Diff line change @@ -2,18 +2,11 @@ version := scm-1
2
2
3
3
.PHONY : all doc test schema install
4
4
5
- BUNDLE_VERSION =2.8.4-0-g47e6bd362-r508
6
5
COMMIT_TAG = $(shell git describe)
7
6
8
7
all : doc
9
8
mkdir -p doc
10
9
11
- sdk : Makefile
12
- wget https://tarantool:$(DOWNLOAD_TOKEN ) @download.tarantool.io/enterprise/tarantool-enterprise-bundle-$(BUNDLE_VERSION ) .tar.gz
13
- tar -xzf tarantool-enterprise-bundle-$(BUNDLE_VERSION ) .tar.gz
14
- rm tarantool-enterprise-bundle-$(BUNDLE_VERSION ) .tar.gz
15
- mv tarantool-enterprise sdk
16
-
17
10
.rocks : migrations-scm-1.rockspec
18
11
$(shell ) ./deps.sh
19
12
You can’t perform that action at this time.
0 commit comments