Skip to content

Commit

Permalink
feat(Release): Implement release automation
Browse files Browse the repository at this point in the history
  • Loading branch information
wearethefoos committed Apr 5, 2024
1 parent ff269fb commit debe846
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
build:
name: Create Release
runs-on: ubuntu-latest
strategy:
matrix:
otp: [26.0]
elixir: [1.15]

steps:
- uses: google-github-actions/release-please-action@v3
Expand All @@ -30,8 +34,15 @@ jobs:
- uses: actions/checkout@v3

- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}
- name: Install dependencies
run: mix deps.get
- name: Publish to Hex.pm
uses: erlangpack/github-action@v3
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
run: mix hex.publish --yes
if: ${{ steps.release.outputs.release_created }}

0 comments on commit debe846

Please sign in to comment.