@@ -19,11 +19,14 @@ jobs:
1919
2020 build-linux :
2121 runs-on : ubuntu-24.04
22+ permissions :
23+ contents : read
24+ packages : read
2225 container :
23- image : stackwallet /stackwallet-ci:latest
26+ image : ghcr.io/${{ github.repository_owner }} /stackwallet-ci:latest
2427 credentials :
25- username : ${{ secrets.DOCKERHUB_USERNAME }}
26- password : ${{ secrets.DOCKERHUB_TOKEN }}
28+ username : ${{ github.actor }}
29+ password : ${{ github.token }}
2730 steps :
2831 - uses : actions/checkout@v6
2932 with :
7679 - name : Build
7780 env :
7881 USE_SYSTEM_SECURE_STORAGE_DEPS : " 1"
79- run : flutter build linux --release
82+ run : flutter build linux --release --verbose
8083
8184 - name : Package
8285 run : |
@@ -90,11 +93,14 @@ jobs:
9093
9194 build-android :
9295 runs-on : ubuntu-24.04
96+ permissions :
97+ contents : read
98+ packages : read
9399 container :
94- image : stackwallet /stackwallet-ci:latest
100+ image : ghcr.io/${{ github.repository_owner }} /stackwallet-ci:latest
95101 credentials :
96- username : ${{ secrets.DOCKERHUB_USERNAME }}
97- password : ${{ secrets.DOCKERHUB_TOKEN }}
102+ username : ${{ github.actor }}
103+ password : ${{ github.token }}
98104 steps :
99105 - uses : actions/checkout@v6
100106 with :
@@ -186,7 +192,7 @@ jobs:
186192 path : android-artifacts/
187193
188194 build-windows :
189- runs-on : windows-latest
195+ runs-on : windows-2022
190196 defaults :
191197 run :
192198 shell : bash
@@ -215,6 +221,13 @@ jobs:
215221 flutter-version : ' 3.38.1'
216222 channel : ' stable'
217223
224+ - uses : actions/setup-go@v5
225+ with :
226+ go-version : ' 1.24.13'
227+
228+ - name : Flutter doctor
229+ run : flutter doctor -v
230+
218231 - name : Configure app
219232 run : |
220233 cd scripts
@@ -244,6 +257,9 @@ jobs:
244257 CHANGE_NOW : ${{ secrets.CHANGE_NOW }}
245258 run : echo "$CHANGE_NOW" | base64 --decode > lib/external_api_keys.dart
246259
260+ - name : Build secp256k1.dll for Windows
261+ run : dart run coinlib:build_windows
262+
247263 - name : Build
248264 run : flutter build windows --release
249265
@@ -285,6 +301,10 @@ jobs:
285301 flutter-version : ' 3.38.1'
286302 channel : ' stable'
287303
304+ - uses : actions/setup-go@v5
305+ with :
306+ go-version : ' 1.24.13'
307+
288308 - name : Configure app
289309 run : |
290310 cd scripts
@@ -355,11 +375,20 @@ jobs:
355375 toolchain : ' 1.71.0'
356376 targets : aarch64-apple-ios
357377
378+ - uses : dtolnay/rust-toolchain@master
379+ with :
380+ toolchain : stable
381+ targets : aarch64-apple-ios
382+
358383 - uses : subosito/flutter-action@v2
359384 with :
360385 flutter-version : ' 3.38.1'
361386 channel : ' stable'
362387
388+ - uses : actions/setup-go@v5
389+ with :
390+ go-version : ' 1.24.13'
391+
363392 - name : Configure app
364393 run : |
365394 cd scripts
0 commit comments