Skip to content

Commit

Permalink
chore: refactoring local gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
lzecca78 committed Jan 3, 2025
1 parent 6972aaa commit e7ff7a1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
4 changes: 0 additions & 4 deletions .github/actions/erlang-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ on:
type: string
default: .
description: "Elixir Mix project directory"
secrets:
GHA_SSH_DEPLOY_KEY:
description: "SSH deploy key with read permissions on private deps repos, passed from the caller workflow"
required: false
HEX_KEY:
description: "API Key for hex package publish on hex.pm"
required: false
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
types: [published]

jobs:
elixir-ci:
uses: ./.github/actions/erlang-publish
with:
rebar3-version: 3.24.0
otp-version: 26.0
secrets:
HEX_KEY: ${{ secrets.HEX_KEY }}
erlang-publish:
runs-on: k8s-medium
steps:
- name: "Publish to Hex"
uses: ./.github/actions/erlang-publish
with:
rebar3-version: 3.24.0
otp-version: 26.0
HEX_KEY: ${{ secrets.HEX_KEY }}

0 comments on commit e7ff7a1

Please sign in to comment.