File tree 2 files changed +15
-3
lines changed
2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -129,19 +129,32 @@ jobs:
129
129
- name : Install Node.js v18
130
130
uses : actions/setup-node@v3
131
131
with :
132
- node-version : " 18"
132
+ node-version : " 18.15.0 "
133
133
134
134
- name : Install nfpm
135
135
run : |
136
136
mkdir -p ~/.local/bin
137
137
curl -sSfL https://github.com/goreleaser/nfpm/releases/download/v2.3.1/nfpm_2.3.1_`uname -s`_`uname -m`.tar.gz | tar -C ~/.local/bin -zxv nfpm
138
138
echo "$HOME/.local/bin" >> $GITHUB_PATH
139
139
140
- - name : Install cross-compiler and system dependencies
140
+ - name : Install cross-compiler and system dependencies (arm64)
141
+ if : ${{ matrix.arch != 'armv7l' }}
141
142
run : sudo apt update && sudo apt install -y $PACKAGE libkrb5-dev
142
143
env :
143
144
PACKAGE : ${{ format('g++-{0}', matrix.prefix) }}
144
145
146
+ - name : Install cross-compiler and system dependencies (armv7l)
147
+ if : ${{ matrix.arch == 'armv7l' }}
148
+ run : |
149
+ sudo sed -i "s/^deb/deb [arch=amd64,i386]/g" /etc/apt/sources.list
150
+ echo "deb [arch=arm64,armhf] http://ports.ubuntu.com/ $(lsb_release -s -c) main universe multiverse restricted" | sudo tee -a /etc/apt/sources.list
151
+ echo "deb [arch=arm64,armhf] http://ports.ubuntu.com/ $(lsb_release -s -c)-updates main universe multiverse restricted" | sudo tee -a /etc/apt/sources.list
152
+ sudo dpkg --add-architecture armhf
153
+ sudo apt update
154
+ sudo apt install -y $PACKAGE libkrb5-dev:armhf
155
+ env :
156
+ PACKAGE : ${{ format('g++-{0}', matrix.prefix) }}
157
+
145
158
- name : Download npm package
146
159
uses : actions/download-artifact@v3
147
160
with :
Original file line number Diff line number Diff line change @@ -20,4 +20,3 @@ display-language.diff
20
20
cli-window-open.diff
21
21
getting-started.diff
22
22
safari.diff
23
- dependencies.diff
You can’t perform that action at this time.
0 commit comments