Skip to content

upgrade mix elixir version #2

upgrade mix elixir version

upgrade mix elixir version #2

Workflow file for this run

---
name: Publish to hex.pm
on:
push:
tags:
- "*"
env:
GOOGLE_CREDENTIALS: ./secrets/google_credentials.json
jobs:
publish-hexpm:
name: publish to hex.pm
runs-on: ubuntu-latest
container: elixir:1.10-alpine
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
touch ./secrets/google_credentials.json
apk add --update bash openssl git
mix local.hex --force && mix local.rebar --force
- name: Install elixir dependencies
run: mix deps.get
- name: publish to hex.pm
run: mix hex.publish --yes
env:
HEX_API_KEY: ${{ secrets.HEX_KEY_PUBLISH }}