Skip to content

Commit

Permalink
chore: useless local action givent that we use it only once (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzecca78 authored Jan 3, 2025
1 parent 4c38654 commit 6149c84
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 104 deletions.
99 changes: 0 additions & 99 deletions .github/actions/erlang-publish/action.yml

This file was deleted.

20 changes: 15 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,20 @@ jobs:
steps:
- name: Checkout project source
uses: actions/checkout@v4
- name: "Publish to Hex"
uses: ./.github/actions/erlang-publish
- name: Install Beam/OTP/Elixir
uses: erlef/setup-beam@v1
id: setup-erlang
with:
runs-on: ubuntu-latest
rebar3-version: 3.24.0
otp-version: 26.0
HEX_KEY: ${{ secrets.HEX_KEY }}
rebar3-version: 3.24.0
- name: Login to hex.pm
run: rebar3 hex organization auth prima --key ${{ secrets.HEX_KEY }}
env:
HEX_HOME: ./_build/.hex
- name: Install dependencies
run: rebar3 update; rebar3 deps
- name: Publish to Hex.pm
run: rebar3 hex publish -r hexpm:prima
env:
HEX_API_KEY: ${{ secrets.HEX_KEY }}
HEX_HOME: ./_build/.hex

0 comments on commit 6149c84

Please sign in to comment.