Merge pull request #36 from doughsay/outputs

Adds exact installed versions of Elixir and OTP as outputs
This commit is contained in:
Jonathan Clem
2020-08-05 10:59:19 -04:00
committed by GitHub
6 changed files with 337 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ on:
push: {branches: main}
pull_request: {branches: main}
repository_dispatch:
workflow_dispatch:
jobs:
test:
@@ -28,10 +29,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use actions/setup-elixir
id: setup-elixir
uses: ./
with:
otp-version: ${{matrix.pair.otp-version}}
elixir-version: ${{matrix.pair.elixir-version}}
- name: Output runtime versions
run: echo "Elixir ${{steps.setup-elixir.outputs.elixir-version}} / OTP ${{steps.setup-elixir.outputs.otp-version}}"
- name: Run Mix project tests
run: |-
cd test-project