1414 with :
1515 fetch-depth : 10
1616
17+ - name : Adjust snapshot build number
18+ uses : ./.github/actions/adjust-snapshot-buildno
19+
1720 - name : Prepare
1821 run : |
1922 sudo apt-get install libtool-bin libtomcrypt1 libtomcrypt-dev libtommath1 libtommath-dev libicu-dev zlib1g-dev cmake
5558 with :
5659 fetch-depth : 10
5760
61+ - name : Adjust snapshot build number
62+ uses : ./.github/actions/adjust-snapshot-buildno
63+
5864 - name : Get Release Notes
5965 uses : ./.github/actions/get-release-notes
6066
96102 with :
97103 fetch-depth : 10
98104
105+ - name : Adjust snapshot build number
106+ uses : ./.github/actions/adjust-snapshot-buildno
107+
99108 - name : Get Release Notes
100109 uses : ./.github/actions/get-release-notes
101110
@@ -123,7 +132,10 @@ jobs:
123132 fetch-depth : 10
124133
125134 - name : Prepare
126- run : apk update && apk --no-cache --update add build-base libtool git autoconf automake cmake zlib-dev icu-dev ncurses-dev libedit-dev linux-headers tar
135+ run : apk update && apk --no-cache --update add build-base libtool git autoconf automake cmake zlib-dev icu-dev ncurses-dev libedit-dev linux-headers tar sed
136+
137+ - name : Adjust snapshot build number
138+ uses : ./.github/actions/adjust-snapshot-buildno
127139
128140 - name : Build
129141 run : |
@@ -160,6 +172,9 @@ jobs:
160172 with :
161173 fetch-depth : 10
162174
175+ - name : Adjust snapshot build number
176+ uses : ./.github/actions/adjust-snapshot-buildno
177+
163178 - name : Prepare
164179 shell : cmd
165180 run : |
@@ -210,6 +225,9 @@ jobs:
210225 with :
211226 fetch-depth : 10
212227
228+ - name : Adjust snapshot build number
229+ uses : ./.github/actions/adjust-snapshot-buildno
230+
213231 - name : Get Release Notes
214232 uses : ./.github/actions/get-release-notes
215233
@@ -271,7 +289,9 @@ jobs:
271289
272290 build-macos :
273291 name : build-macos-${{ matrix.arch }}
274- runs-on : ${{ (matrix.arch == 'arm64' && 'macos-14') || 'macos-12' }}
292+ runs-on : ${{ (matrix.arch == 'arm64' && 'macos-14') || 'macos-13' }}
293+ env :
294+ VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
275295
276296 strategy :
277297 fail-fast : false
@@ -287,31 +307,24 @@ jobs:
287307 fetch-depth : 10
288308 submodules : ' true'
289309
310+ - name : Adjust snapshot build number
311+ uses : ./.github/actions/adjust-snapshot-buildno
312+
290313 - name : Prepare - Install tools
291314 run : |
292315 brew install automake autoconf-archive cmake libtool ninja
293316
294- # libcxx build is not working with python >= 3.12
295- - name : Do not use preinstalled python >= 3.12
296- run : |
297- brew uninstall --ignore-dependencies [email protected] 298- [ -e /Library/Frameworks/Python.framework ] && \
299- sudo mv /Library/Frameworks/Python.framework /Library/Frameworks/Python.framework.dont-look-at-this
300- 301- ln -s "$(brew --prefix [email protected] )/bin/python3" "$(brew --prefix [email protected] )/bin/python" 302-
303- - name : Cache - vcpkg
304- uses : actions/cache@v4
317+ - name : Export GitHub Actions cache environment variables
318+ uses : actions/github-script@v7
305319 with :
306- key : ${{ runner.os }}-vcpkg-0
307- path : |
308- $HOME/.cache/vcpkg/archives
320+ script : |
321+ core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
322+ core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
309323
310324 - name : Build
311325 run : |
312326 export LIBTOOLIZE=glibtoolize
313327 export LIBTOOL=glibtool
314- export PATH="$(brew --prefix [email protected] )/bin:$PATH" 315328
316329 ./autogen.sh --with-builtin-tommath --with-builtin-tomcrypt
317330 make -j4
@@ -370,6 +383,9 @@ jobs:
370383 with :
371384 fetch-depth : 10
372385
386+ - name : Adjust snapshot build number
387+ uses : ./.github/actions/adjust-snapshot-buildno
388+
373389 - name : Prepare - install Linux tools
374390 run : |
375391 sudo apt-get install libtool-bin libtomcrypt1 libtomcrypt-dev libtommath1 libtommath-dev libicu-dev zlib1g-dev
@@ -419,6 +435,9 @@ jobs:
419435 with :
420436 fetch-depth : 10
421437
438+ - name : Adjust snapshot build number
439+ uses : ./.github/actions/adjust-snapshot-buildno
440+
422441 - name : Enable KVM
423442 run : |
424443 echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
@@ -482,7 +501,7 @@ jobs:
482501 path : gen/Firebird-*-android-${{ matrix.arch }}-withDebugSymbols.tar.gz
483502
484503 - name : Delete initial build
485- uses : geekyeggo/delete-artifact@v4
504+ uses : geekyeggo/delete-artifact@v5
486505 with :
487506 name : firebird-android-initial-${{ matrix.arch }}
488507
@@ -503,6 +522,9 @@ jobs:
503522 with :
504523 fetch-depth : 10
505524
525+ - name : Adjust snapshot build number
526+ uses : ./.github/actions/adjust-snapshot-buildno
527+
506528 - name : Download final build (x86)
507529 uses : actions/download-artifact@v4
508530 with :
0 commit comments