Skip to content

Commit

Permalink
move GH workflow file, add deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
grossvogel committed May 21, 2024
1 parent 23bd7f1 commit f282618
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
release:
types: [published]
jobs:
tests:
test-and-deploy:
runs-on: ubuntu-22.04
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
env:
Expand Down Expand Up @@ -33,3 +33,6 @@ jobs:
- run: mix test
- if: matrix.elixir == '1.16'
run: mix format --check-formatted
- name: Deploy to Hex
if: ${{ github.event_name == 'release' && matrix.elixir == '1.16' }}
run: mix hex.publish --yes

0 comments on commit f282618

Please sign in to comment.