Skip to content

👷 provide api key at publish step only #6

👷 provide api key at publish step only

👷 provide api key at publish step only #6

Workflow file for this run

name: publish
on:
push:
branches:
- master
- main
pull_request:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: "26.0.2"
gleam-version: "1.2.1"
rebar3-version: "3"
# elixir-version: "1.15.4"
- run: gleam deps download
- run: gleam test
- run: gleam format --check src test
- run: gleam publish -y
env:
HEXPM_API_KEY: ${{ secrets.HEXPM_API_KEY }}