Skip to content

Workflow file for this run

# create this in .github/workflows/ci.yml
on:
workflow_dispatch:
push:
tags:
- "v*"
env:
CI: true
MIX_ENV: "prod"
permissions:
contents: write
jobs:
precompile:
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} / OS ${{matrix.os}}

Check failure on line 18 in .github/workflows/precompile.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/precompile.yaml

Invalid workflow file

The workflow is not valid. .github/workflows/precompile.yaml (Line: 18, Col: 5): Required property is missing: runs-on
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
otp: ['27.2.1']
elixir: ['1.18.2']
rebar3: ['3.24.0']
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- run: mix deps.get
- run: mix deps.compile
- run: mix release
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')