55 tags :
66 - ' v*'
77
8+ env :
9+ CRYSTAL_VERSION : 1.14
10+
811jobs :
912 build_linux_amd64 :
1013 runs-on : ubuntu-latest
1114 steps :
1215 - name : Checkout
1316 uses : actions/checkout@v4
1417
15- - name : Add Crystal repos
16- run : curl -sSL https://crystal-lang.org/install.sh | sudo bash
17-
1818 - name : Install crystal
19- run : sudo apt install -y crystal libevent-dev libpcre3-dev libreadline-dev libssl-dev
19+ uses : crystal-lang/install-crystal@v1
20+ with :
21+ crystal : ${{ env.CRYSTAL_VERSION }}
2022
2123 - name : Install dependencies
2224 run : shards install
@@ -37,11 +39,10 @@ jobs:
3739 - name : Checkout
3840 uses : actions/checkout@v4
3941
40- - name : Add Crystal repos
41- run : curl -sSL https://crystal-lang.org/install.sh | sudo bash
42-
4342 - name : Install crystal
44- run : sudo apt install -y crystal libevent-dev libpcre3-dev libreadline-dev libssl-dev
43+ uses : crystal-lang/install-crystal@v1
44+ with :
45+ crystal : ${{ env.CRYSTAL_VERSION }}
4546
4647 - name : Install dependencies
4748 run : shards install
7475 uses : actions/checkout@v4
7576
7677 - name : Install crystal
77- run : brew install crystal
78+ uses : crystal-lang/install-crystal@v1
79+ with :
80+ crystal : ${{ env.CRYSTAL_VERSION }}
81+
82+ - name : Install boehmgc via homebrew
83+ run : brew install bdw-gc
7884
7985 - name : Install gon via homebrew for code signing and app notarization
8086 run : |
@@ -101,7 +107,12 @@ jobs:
101107 uses : actions/checkout@v4
102108
103109 - name : Install crystal
104- run : brew install crystal
110+ uses : crystal-lang/install-crystal@v1
111+ with :
112+ crystal : ${{ env.CRYSTAL_VERSION }}
113+
114+ - name : Install boehmgc via homebrew
115+ run : brew install bdw-gc
105116
106117 - name : Install gon via homebrew for code signing and app notarization
107118 run : |
0 commit comments