Skip to content

Commit b8271a8

Browse files
committed
Simplify ci-cd.yml by removing ERL_BASE resolution and unnecessary pkgx hacks
1 parent 9b73a41 commit b8271a8

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,9 @@ jobs:
3737
steps:
3838
- uses: actions/checkout@v6
3939
- uses: pkgxdev/dev@fix-erlang
40-
- name: Resolve ERL_BASE
41-
run: |
42-
unset ERL_ROOTDIR
43-
ERL_BIN="$(command -v erl)"
44-
ERL_BIN_REAL="$(readlink -f "$ERL_BIN")"
45-
ERL_DIR="$(dirname "$(dirname "$ERL_BIN_REAL")")"
46-
if [ -d "$ERL_DIR/lib/erlang" ]; then
47-
ERL_BASE="$ERL_DIR/lib/erlang"
48-
else
49-
ERL_BASE="$ERL_DIR"
50-
fi
51-
echo "ERL_BASE=$ERL_BASE" >> "$GITHUB_ENV"
52-
echo "ERL_ROOTDIR=$ERL_BASE" >> "$GITHUB_ENV"
53-
- run: pkgx +invisible-island.net/ncurses -- mix deps.get
54-
- run: pkgx +invisible-island.net/ncurses -- mix deps.compile
55-
- run: pkgx +invisible-island.net/ncurses -- mix test
40+
- run: mix deps.get
41+
- run: mix deps.compile
42+
- run: mix test
5643

5744
audit:
5845
needs: [ version ]

0 commit comments

Comments
 (0)