Skip to content

Commit 8782dff

Browse files
committed
Use matrix nim version
1 parent 0055a12 commit 8782dff

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
matrix:
2222
firefox: [ '73.0' ]
2323
include:
24-
- cache-key: 'stable'
24+
- nim-version: 'stable'
25+
cache-key: 'stable'
2526
steps:
2627
- uses: actions/checkout@v2
2728
- name: Checkout submodules
@@ -60,7 +61,7 @@ jobs:
6061
6162
- name: Install choosenim
6263
run: |
63-
export CHOOSENIM_CHOOSE_VERSION="stable"
64+
export CHOOSENIM_CHOOSE_VERSION="${{ matrix.nim-version }}"
6465
curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
6566
sh init.sh -y
6667
export PATH=$HOME/.nimble/bin:$PATH

0 commit comments

Comments
 (0)