From ca0572edfd04b825c3a7e742b950cb7579e6ab83 Mon Sep 17 00:00:00 2001 From: Nabeel Valley <36758308+nabeelvalley@users.noreply.github.com> Date: Sat, 20 Jul 2024 00:31:33 +0200 Subject: [PATCH] :construction_worker: provide api key at publish step only --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 24030a5..4187a7a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,8 +13,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 - env: - HEXPM_API_KEY:: ${{ secrets.HEXPM_API_KEY }} with: otp-version: "26.0.2" gleam-version: "1.2.1" @@ -24,3 +22,5 @@ jobs: - run: gleam test - run: gleam format --check src test - run: gleam publish -y + env: + HEXPM_API_KEY: ${{ secrets.HEXPM_API_KEY }}