From 0f9bc03f0d5ad6bebeceb2fbd2eb4e0eaa1e2d05 Mon Sep 17 00:00:00 2001 From: Andrei Neculau Date: Mon, 31 May 2021 00:50:23 +0200 Subject: [PATCH] fixup! fixup! publish to hex.pm --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c7bf27..c81b4d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,19 +85,19 @@ jobs: # PUBLISH TAGS - if: ${{ startsWith(github.ref, 'refs/tags/') }} + name: Check is-semver-tag id: is-semver-tag shell: bash run: | if [[ ${{ github.event.ref }} =~ ^refs/tags/[0-9]+\.[0-9]+\.[0-9]+ ]]; then - echo ::set-output name=match::true + echo ::set-output name=check::true fi - - if: ${{ matrix.otp_vsn == 'latest' && steps.is-semver-tag.outputs.match == 'true'}} + - if: ${{ matrix.otp_vsn == 'latest' && steps.is-semver-tag.outputs.check == 'true'}} + name: Run make publish shell: bash env: HEX_API_KEY: ${{secrets.HEX_API_KEY}} run: | - # deps for rebar3 edoc as per https://github.com/erlangpack/github-action/blob/34eda48/Dockerfile - apk add --no-cache bsd-compat-headers gcc git libc-dev make - mkdir -p $${HOME}/.config/rebar3 - echo "{plugins, [rebar3_hex]}." > $${HOME}/.config/rebar3/rebar.config + mkdir -p ~/.config/rebar3 + echo "{plugins, [rebar3_hex]}." > ~/.config/rebar3/rebar.config make publish