Skip to content

Commit

Permalink
elixir setup stage
Browse files Browse the repository at this point in the history
  • Loading branch information
ohyecloudy committed Jun 22, 2024
1 parent a56d106 commit 944af3c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/elixir.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:

name: build tbot-800.ex
runs-on: ubuntu-latest
strategy:
# Specify the OTP and Elixir versions to use when building
# and running the workflow steps.
matrix:
otp: ['25.3.2.7'] # Define the OTP version [required]
elixir: ['1.15.7'] # Define the elixir version [required]

steps:
- name: Checkout tbot-800.ex
Expand All @@ -35,11 +41,12 @@ jobs:
with:
path: quotes

# Step: Setup Elixir + Erlang image as the base.
- name: Set up Elixir
uses: erlef/setup-beam@988e02bfe678367a02564f65ca2e37726dc0268f
uses: erlef/setup-beam@v1
with:
elixir-version: '1.14.1' # Define the elixir version [required]
otp-version: '25.1.2' # Define the OTP version [required]
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}

- name: Restore dependencies cache
uses: actions/cache@v3
Expand Down

0 comments on commit 944af3c

Please sign in to comment.