Add Mongo 8 to the ci and update the Readme (#254) #189
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
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 }} |