Skip to content

use reusable workflow for test and release #12

use reusable workflow for test and release

use reusable workflow for test and release #12

Workflow file for this run

name: Release
on:
push:
tags:
- v*.*.*
jobs:
test:
uses: .github/workflows/test.yml

Check failure on line 10 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

invalid value workflow reference: no version specified
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: 26
rebar3-version: 3
gleam-version: "1.1.0"
- name: publish to hex
env:
HEXPM_USER: ${{ secrets.HEXPM_USER }}
HEXPM_PASS: ${{ secrets.HEXPM_PASS }}
run: gleam publish -y