Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: refactoring local gh action #12

Merged
merged 1 commit into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
Loading