File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change 24
24
uses : actions/checkout@v4
25
25
with :
26
26
path : ${{ env.PLUGIN_FOLDER }}
27
+ - name : Checkout Plugin branch
28
+ working-directory : ${{ env.PLUGIN_FOLDER }}
29
+ run : |
30
+ git checkout -B ${{ matrix.PLATFORM.RMQREF }}
27
31
- name : Install Erlang and Elixir
28
32
uses : erlef/setup-beam@v1
29
33
with :
@@ -35,19 +39,22 @@ jobs:
35
39
make
36
40
- name : Run tests
37
41
working-directory : ${{ env.PLUGIN_FOLDER }}
42
+ env :
43
+ MIX_ENV : ' test'
38
44
run : |
39
- git checkout -B ${{ matrix.PLATFORM.RMQREF }}
40
- make tests
45
+ make --environment-overrides tests
46
+ - name : Build distribution files
47
+ working-directory : ${{ env.PLUGIN_FOLDER }}
48
+ env :
49
+ MIX_ENV : ' prod'
50
+ DIST_AS_EZS : ' yes'
51
+ run : |
52
+ make --environment-overrides dist
41
53
- name : Store test artifacts
42
54
uses : actions/upload-artifact@v4
43
55
with :
44
56
name : tests-rmq${{ matrix.PLATFORM.RMQREF }}-erl${{ matrix.PLATFORM.ERLVER }}-elx${{ matrix.PLATFORM.ELXVER }}
45
57
path : ${{ env.SERVER_FOLDER }}/logs/
46
- - name : Build distribution files
47
- working-directory : ${{ env.PLUGIN_FOLDER }}
48
- run : |
49
- git checkout -B ${{ matrix.PLATFORM.RMQREF }}
50
- MIX_ENV=prod DIST_AS_EZS=yes make dist
51
58
- name : Store build artifacts
52
59
uses : actions/upload-artifact@v4
53
60
with :
You can’t perform that action at this time.
0 commit comments