File tree 1 file changed +12
-6
lines changed
1 file changed +12
-6
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
+ run : |
29
+ git checkout -B ${{ matrix.PLATFORM.RMQREF }}
27
30
- name : Install Erlang and Elixir
28
31
uses : erlef/setup-beam@v1
29
32
with :
@@ -35,19 +38,22 @@ jobs:
35
38
make
36
39
- name : Run tests
37
40
working-directory : ${{ env.PLUGIN_FOLDER }}
41
+ env :
42
+ - MIX_ENV : ' test'
38
43
run : |
39
- git checkout -B ${{ matrix.PLATFORM.RMQREF }}
40
44
make tests
45
+ - name : Build distribution files
46
+ working-directory : ${{ env.PLUGIN_FOLDER }}
47
+ env :
48
+ - MIX_ENV : ' prod'
49
+ - DIST_AS_EZS : ' yes'
50
+ run : |
51
+ make dist
41
52
- name : Store test artifacts
42
53
uses : actions/upload-artifact@v4
43
54
with :
44
55
name : tests-rmq${{ matrix.PLATFORM.RMQREF }}-erl${{ matrix.PLATFORM.ERLVER }}-elx${{ matrix.PLATFORM.ELXVER }}
45
56
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
57
- name : Store build artifacts
52
58
uses : actions/upload-artifact@v4
53
59
with :
You can’t perform that action at this time.
0 commit comments