Skip to content

Commit 938a12f

Browse files
committed
[ fix ] Fix CI for building Agda 2.6.4 with Stack
1 parent 91fd021 commit 938a12f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,10 @@ jobs:
130130
- name: ⏬ Install Agda
131131
if: ${{ steps.check-agda.outcome == 'failure'}}
132132
run: |
133-
stack install --resolver=lts-24.1 --allow-different-user ${{ matrix.agda }}
133+
AGDA_PKGNAME=${{ matrix.agda }}
134+
STACK_RESOLVER=$([ "$AGDA_PKGNAME" == "Agda-2.6.4" ] && echo "nightly-2023-10-03
135+
" || echo "lts-24.1")
136+
stack install --resolver=$STACK_RESOLVER --allow-different-user "$AGDA_PKGNAME"
134137
echo "STACK_LOCAL_BIN=$(stack path --local-bin)" >> "$GITHUB_ENV"
135138

136139
- name: 📦 Move artefacts to ${{ env.DIST }}

0 commit comments

Comments
 (0)