mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Runtime: Cache hex.pm archive from rebar3 and mix
This commit is contained in:
parent
aa1717ee77
commit
795498fa45
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -100,7 +100,7 @@ jobs:
|
|||||||
- name: Remove syntax_tools from release
|
- name: Remove syntax_tools from release
|
||||||
run: sed -i 's|, syntax_tools||g' src/ejabberd.app.src.script
|
run: sed -i 's|, syntax_tools||g' src/ejabberd.app.src.script
|
||||||
|
|
||||||
- name: Cache rebar
|
- name: Cache Hex.pm
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
|
21
.github/workflows/runtime.yml
vendored
21
.github/workflows/runtime.yml
vendored
@ -61,6 +61,13 @@ jobs:
|
|||||||
apt-get -qq install libexpat1-dev libgd-dev libpam0g-dev \
|
apt-get -qq install libexpat1-dev libgd-dev libpam0g-dev \
|
||||||
libsqlite3-dev libwebp-dev libyaml-dev
|
libsqlite3-dev libwebp-dev libyaml-dev
|
||||||
|
|
||||||
|
- name: Cache Hex.pm
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cache/rebar3/
|
||||||
|
key: ${{matrix.otp}}-${{hashFiles('rebar.config')}}
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -204,6 +211,13 @@ jobs:
|
|||||||
sed -i 's|^{deps, \[\(.*\)|{deps, [{decimal, ".*", {git, "https://github.com/ericmj/decimal", {branch, "main"}}},\n \1|g' rebar.config
|
sed -i 's|^{deps, \[\(.*\)|{deps, [{decimal, ".*", {git, "https://github.com/ericmj/decimal", {branch, "main"}}},\n \1|g' rebar.config
|
||||||
cat rebar.config
|
cat rebar.config
|
||||||
|
|
||||||
|
- name: Cache Hex.pm
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cache/rebar3/
|
||||||
|
key: ${{matrix.otp}}-${{hashFiles('rebar.config')}}
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -347,6 +361,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mix deps.unlock jose
|
mix deps.unlock jose
|
||||||
|
|
||||||
|
- name: Cache Hex.pm
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.hex/
|
||||||
|
key: ${{matrix.otp}}-${{hashFiles('mix.exs')}}
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user