File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 8989
9090 - name : Run Dialyzer
9191 run : mix dialyzer
92+
9293 release :
9394 name : Create or Update Release PR
9495 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -3,15 +3,30 @@ name: Release
33on :
44 release :
55 types : [published]
6+ workflow_dispatch :
7+ inputs :
8+ tag :
9+ description : " The git tag for the release to publish"
10+ type : string
11+ default : ${{ github.ref }}
612
713jobs :
814 publish :
915 runs-on : ubuntu-latest
1016 steps :
1117 - name : Check out
1218 uses : actions/checkout@v3
19+ with :
20+ ref : ${{ inputs.tag }}
21+
22+ - name : Set up Elixir
23+ uses : erlef/setup-beam@v1
24+ with :
25+ elixir-version : 1.19
1326
1427 - name : Publish to hex.pm
15- uses : wesleimp/action-publish-hex@v1
1628 env :
1729 HEX_API_KEY : ${{ secrets.HEX_API_KEY }}
30+ run : |
31+ mix deps.get
32+ mix hex.publish --yes
You can’t perform that action at this time.
0 commit comments