Skip to content

Commit d135c55

Browse files
authored
Merge pull request #267 from banacorn/fix-ci-for-agda-2.6.4
[ fix ] Fix CI for building Agda 2.6.4 with Stack
2 parents 91fd021 + fc08b09 commit d135c55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ 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" || echo "lts-24.1")
135+
stack install --resolver=$STACK_RESOLVER --allow-different-user "$AGDA_PKGNAME"
134136
echo "STACK_LOCAL_BIN=$(stack path --local-bin)" >> "$GITHUB_ENV"
135137
136138
- name: 📦 Move artefacts to ${{ env.DIST }}

0 commit comments

Comments
 (0)