Skip to content

GH and Hex.pm Release #5

GH and Hex.pm Release

GH and Hex.pm Release #5

Workflow file for this run

name: Release
on:
push:
tags:
- v*.*.*
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- run: ls
# - uses: ./.github/workflows/test.yml
release-gh:
runs-on: ubuntu-latest
needs: [test]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Release
uses: softprops/action-gh-release@v1
# release-hex:
# runs-on: ubuntu-latest
# environment: publish
# steps:
# - uses: actions/checkout@v2
# - uses: actions/cache/restore@v4
# with:
# path: ./build/packages
# key: deps-${{ hashFiles('manifest.toml') }}
# - uses: erlef/setup-beam@v1
# with:
# otp-version: ${{inputs.ERLANG_VERSION}}
# rebar3-version: ${{inputs.REBAR3_VERSION}}
# gleam-version: ${{inputs.GLEAM_VERSION}}
# - name: publish to hex
# env:
# HEXPM_USER: ${{ secrets.HEXPM_USER }}
# HEXPM_PASS: ${{ secrets.HEXPM_PASS }}
# run: gleam publish -y