diff --git a/.github/workflows/hex.yml b/.github/workflows/hex.yml new file mode 100644 index 0000000..d26f6cd --- /dev/null +++ b/.github/workflows/hex.yml @@ -0,0 +1,23 @@ +env: + ELIXIR_VERSION: "1.13.4" + OTP_VERSION: "25.0.1" +on: + push: + tags: + - '*' +jobs: + publish: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v3 + - name: Set up Elixir + uses: erlef/setup-beam@v1 + with: + elixir-version: ${{ env.ELIXIR_VERSION }} + otp-version: ${{ env.OTP_VERSION }} + - name: Publish to Hex + uses: synchronal/hex-publish-action@v3 + with: + name: exq_ui + key: ${{ secrets.HEX_PM_KEY }} + tag-release: false