v3.21.1 #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
release: | |
types: | |
- released | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v2 | |
- uses: erlef/setup-beam@v1 | |
id: beam | |
with: | |
otp-version: 25 | |
elixir-version: 1.14 | |
- id: deps | |
name: Fetch and compile dependencies | |
run: | | |
mix do deps.get, deps.compile | |
- id: build | |
name: Build package | |
run: | | |
mix hex.build | |
- id: publish | |
name: Publish package to hex.pm | |
env: | |
HEX_API_KEY: ${{ secrets.HEX_API_KEY }} | |
run: | | |
mix hex.publish --yes |