Skip to content

Commit

Permalink
Add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-foster committed Feb 28, 2023
1 parent b017c92 commit 0acf1f1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release

on:
push:
tags:
- '*'

jobs:
publish:
name: Publish to Hex.pm
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup BEAM
uses: erlef/setup-beam@v1
with:
elixir-version: "1.14.x"
otp-version: "25.x"

- name: Publish Package
run: |
mix deps.get
HEX_API_KEY=${{secrets.HEX_API_KEY}} mix hex.publish --yes --replace
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ defmodule UeberauthApple.Mixfile do
end

defp description do
"An Uberauth strategy for Apple authentication."
"An Ueberauth strategy for Apple authentication."
end

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

0 comments on commit 0acf1f1

Please sign in to comment.