Skip to content

Merge pull request #3 from Logflare/chore/hex-package-metadata #1

Merge pull request #3 from Logflare/chore/hex-package-metadata

Merge pull request #3 from Logflare/chore/hex-package-metadata #1

Workflow file for this run

name: Publish dev package
on:
push:
branches:
- main
paths:
- logflare-ex/**
defaults:
run:
working-directory: ./logflare-ex
jobs:
publish_dev:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
version-file: .tool-versions
version-type: strict
- name: Restore dependencies cache
uses: actions/cache@v3
with:
path: |
logflare-ex/deps
key: mix-${{ hashFiles('**/mix.lock') }}
restore-keys: mix
- run: mix deps.get
- run: mix hex.publish --yes
env:
HEX_API_KEY: ${{ secrets.HEX_AUTH_TOKEN }}