File tree 2 files changed +26
-28
lines changed
2 files changed +26
-28
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ name: Hex Publish Docs
2
2
3
3
on :
4
4
workflow_dispatch :
5
- branches :
6
- - master
7
5
8
6
concurrency :
9
7
group : hex-publish-docs
@@ -14,27 +12,27 @@ jobs:
14
12
name : Publish
15
13
runs-on : ubuntu-latest
16
14
steps :
17
- - name : Verify Branch
18
- if : github.ref != 'refs/heads/master'
19
- run : exit 1
20
- - uses : actions/checkout@v4
21
- - name : Set up Elixir
22
- uses : erlef/setup-beam@v1
23
- with :
24
- elixir-version : ' 1.17'
25
- otp-version : ' 27.1'
26
- - name : Restore dependencies cache
27
- uses : actions/cache@v4
28
- with :
29
- path : deps
30
- key : ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
31
- restore-keys : ${{ runner.os }}-mix-
32
- - name : Install dependencies
33
- run : |
34
- mix local.rebar --force
35
- mix local.hex --force
36
- mix deps.get
37
- - name : Run Hex Publish Docs
38
- run : mix hex.publish docs --yes
39
- env :
40
- HEX_API_KEY : ${{ secrets.HEX_API_KEY }}
15
+ - name : Verify Branch
16
+ if : github.ref != 'refs/heads/master'
17
+ run : exit 1
18
+ - uses : actions/checkout@v4
19
+ - name : Set up Elixir
20
+ uses : erlef/setup-beam@v1
21
+ with :
22
+ elixir-version : " 1.17"
23
+ otp-version : " 27.1"
24
+ - name : Restore dependencies cache
25
+ uses : actions/cache@v4
26
+ with :
27
+ path : deps
28
+ key : ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
29
+ restore-keys : ${{ runner.os }}-mix-
30
+ - name : Install dependencies
31
+ run : |
32
+ mix local.rebar --force
33
+ mix local.hex --force
34
+ mix deps.get
35
+ - name : Run Hex Publish Docs
36
+ run : mix hex.publish docs --yes
37
+ env :
38
+ HEX_API_KEY : ${{ secrets.HEX_API_KEY }}
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ jobs:
16
16
steps :
17
17
- id : release
18
18
name : Release
19
- uses :
google-github-actions /[email protected]
19
+ uses :
googleapis /[email protected]
20
20
with :
21
- command : manifest
22
21
config-file : .github/release-please-config.json
23
22
manifest-file : .github/release-please-manifest.json
24
23
release-type : elixir
24
+ target-branch : master
25
25
token : ${{ secrets.GH_PAT_RELEASE_PLEASE_ACTION }}
You can’t perform that action at this time.
0 commit comments