File tree Expand file tree Collapse file tree 1 file changed +4
-27
lines changed
Expand file tree Collapse file tree 1 file changed +4
-27
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 publish :
10- env :
11- MIX_ENV : docs
10+ uses : swoosh/actions/.github/workflows/publish.yml@main
11+ with :
12+ mode : ' package'
13+ secrets :
1214 HEX_API_KEY : ${{ secrets.HEX_API_KEY }}
13- runs-on : ubuntu-latest
14- steps :
15- - uses : actions/checkout@v2
16-
17- - name : Setup BEAM
18- uses : erlef/setup-beam@v1
19- with :
20- elixir-version : 1.12.x
21- otp-version : 24.x
22-
23- - name : Restore dependencies cache
24- uses : actions/cache@v2
25- id : cache-elixir-deps
26- with :
27- path : |
28- deps
29- _build
30- key : ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
31-
32- - name : Install Dependencies
33- if : steps.cache-elixir-deps.outputs.cache-hit != 'true'
34- run : mix do deps.get, deps.compile, compile
35-
36- - name : Build and publish
37- run : mix hex.publish --yes
You can’t perform that action at this time.
0 commit comments