Skip to content

Commit 0acf1f1

Browse files
committed
Add release workflow
1 parent b017c92 commit 0acf1f1

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/release.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
publish:
10+
name: Publish to Hex.pm
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
16+
- name: Setup BEAM
17+
uses: erlef/setup-beam@v1
18+
with:
19+
elixir-version: "1.14.x"
20+
otp-version: "25.x"
21+
22+
- name: Publish Package
23+
run: |
24+
mix deps.get
25+
HEX_API_KEY=${{secrets.HEX_API_KEY}} mix hex.publish --yes --replace

mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ defmodule UeberauthApple.Mixfile do
5252
end
5353

5454
defp description do
55-
"An Uberauth strategy for Apple authentication."
55+
"An Ueberauth strategy for Apple authentication."
5656
end
5757

5858
defp elixirc_paths(:test), do: ["lib", "test/support"]

0 commit comments

Comments
 (0)