Skip to content

chore: updated the code examples #183

chore: updated the code examples

chore: updated the code examples #183

on:
push:
branches:
- master
pull_request:
branches:
- master
name: release-please
env:
HEX_API_KEY: ${{ secrets.HEX_TOKEN }}
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: elixir
package-name: mongodb_driver
- uses: erlef/setup-beam@v1
if: ${{ steps.release.outputs.release_created }}
with:
otp-version: 26.0.2
elixir-version: 1.15.4
- run: mix do deps.get, deps.compile
if: ${{ steps.release.outputs.release_created }}
- run: mix hex.build
if: ${{ steps.release.outputs.release_created }}
- run: mix hex.publish --yes --replace
if: ${{ steps.release.outputs.release_created }}