File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ publish :
9
+ runs-on : ubuntu-latest
10
+ strategy :
11
+ fail-fast : false
12
+ matrix :
13
+ include :
14
+ - pair :
15
+ elixir-version : 1.15
16
+ otp-version : 26.0
17
+ lint : lint
18
+ steps :
19
+ - uses : actions/checkout@v3
20
+ - name : Set up Elixir
21
+ uses : erlef/setup-beam@v1
22
+ with :
23
+ elixir-version : ${{matrix.pair.elixir-version}}
24
+ otp-version : ${{matrix.pair.otp-version}}
25
+ - name : Restore elixir dependencies cache
26
+ uses : actions/cache@v3
27
+ with :
28
+ path : deps
29
+ key : ${{runner.os}}-mix-${{matrix.elixir-version}}-${{matrix.otp-version}}-${{hashFiles('**/mix.lock')}}
30
+ restore-keys : ${{runner.os}}-mix-${{matrix.elixir-version}}-${{matrix.otp-version}}-
31
+ - name : Install dependencies
32
+ run : mix deps.get
33
+ - name : Publish to Hex
34
+ run : mix hex.publish --yes
35
+ env :
36
+ HEX_API_KEY : ${{secrets.HEX_API_KEY}}
You can’t perform that action at this time.
0 commit comments