From d7a74667215e75d632990ee05348f723447c8e37 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Sun, 25 Feb 2024 18:49:06 +0100 Subject: [PATCH] Add release CI. --- .github/workflows/release.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..29c31b2c --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,23 @@ +name: Release + +on: + push: + tags: + - 'v*.*.*' + +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Run tests + uses: bonfire-networks/bonfire-extension-ci-action@latest + + - name: Publish to Hex.pm + uses: erlangpack/github-action@v3 + env: + HEX_API_KEY: ${{ secrets.HEX_API_KEY }} + + - name: Github Release + uses: ncipollo/release-action@v1