File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 10
10
jobs :
11
11
generate-sdk-sources :
12
12
name : Generate SDK sources
13
- runs-on : ubuntu-20 .04
13
+ runs-on : ubuntu-22 .04
14
14
steps :
15
15
- name : Checkout code
16
16
uses : actions/checkout@v4
Original file line number Diff line number Diff line change 12
12
shell : bash
13
13
run : |
14
14
curl --fail --silent https://raw.githubusercontent.com/xapi-project/xs-opam/master/tools/xs-opam-ci.env | cut -f2 -d " " > .env
15
+ cat /etc/os-release
15
16
16
17
- name : Download XE_SR_ERRORCODES.xml
17
18
shell : bash
42
43
echo "TMPDIR=${TMPDIR}" >>"$GITHUB_ENV"
43
44
echo "XDG_CACHE_HOME=${XDG_CACHE_HOME}" >>"$GITHUB_ENV"
44
45
46
+ - name : Get runner OS info
47
+ uses : kenchan0130/actions-system-info@master
48
+ id : system-info
49
+
45
50
# We set DUNE_CACHE_STORAGE_MODE, it is required for dune cache to work inside opam for now,
46
51
# otherwise it gets EXDEV and considers it a cache miss
47
52
- name : Use ocaml
52
57
xs-opam: ${{ steps.dotenv.outputs.repository }}
53
58
dune-cache : true
54
59
opam-pin : false
60
+ cache-prefix : v3-${{ steps.system-info.outputs.name }}-${{ steps.system-info.outputs.release }}
55
61
env :
56
62
DUNE_CACHE_STORAGE_MODE : copy
57
63
You can’t perform that action at this time.
0 commit comments