Skip to content

Commit 809c78b

Browse files
authored
Merge pull request #138 from asdf-vm/tb/fix-workflow
fix: use compatible Elixir version on MacOS in workflow
2 parents ea84283 + bbda60f commit 809c78b

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/workflow.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- "**.md"
1111
push:
1212
branches:
13-
- main
13+
- master
1414
paths-ignore:
1515
- "**.md"
1616

@@ -20,25 +20,26 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
os:
23-
- macos-latest
24-
- ubuntu-latest
25-
23+
- os: macos-latest
24+
version: 1.18.3-otp-27
25+
- os: ubuntu-latest
26+
version: 1.13.4-otp-22
2627
runs-on: ${{ matrix.os }}
2728

2829
steps:
2930
- name: Install system packages on Ubuntu
30-
if: ${{ runner.os == 'Linux' }}
31+
if: ${{ runner.os.os == 'Linux' }}
3132
run: sudo apt-get install curl erlang
3233

3334
- name: Install system packages on macOS
34-
if: ${{ runner.os == 'macOS' }}
35+
if: ${{ runner.os.os == 'macOS' }}
3536
run: brew install coreutils erlang
3637

3738
- name: Test plugin
3839
uses: asdf-vm/actions/plugin-test@v2
3940
with:
4041
command: elixir --version
41-
version: 1.13.4-otp-22
42+
version: ${{ runner.os.version }}
4243

4344
lint:
4445
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)