8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:03:02 +01:00

Fix #8009 - Update github actions.

This commit is contained in:
Adriano dos Santos Fernandes 2024-02-17 21:36:36 -03:00
parent 7063a7bbff
commit bdd4481869

View File

@ -10,7 +10,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 10
@ -29,7 +29,7 @@ jobs:
(cd Firebird-*-linux-x64; sudo ./install.sh -silent)
- name: Upload installer
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: firebird-ubuntu-20.04-clang-x64
path: gen/Firebird-*-linux-x64.tar.gz
@ -51,7 +51,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 10
@ -59,7 +59,7 @@ jobs:
uses: ./.github/actions/get-release-notes
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
if: ${{ startsWith(matrix.arch, 'arm') }}
- name: Build
@ -68,13 +68,13 @@ jobs:
./run-${{ matrix.arch }}.sh
- name: Upload installer
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: firebird-linux-${{ matrix.arch }}
path: gen/Firebird-*-linux-${{ matrix.arch }}.tar.gz
- name: Upload debug symbols
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: firebird-linux-${{ matrix.arch }}-debugSymbols
path: gen/Firebird-*-linux-${{ matrix.arch }}-debugSymbols.tar.gz
@ -92,7 +92,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 10
@ -118,7 +118,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 10
@ -135,7 +135,7 @@ jobs:
tar xzvf gen/Firebird-*-linux-x64.tar.gz
- name: Upload installer
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: firebird-alpine-x64
path: gen/Firebird-*-linux-x64.tar.gz
@ -156,7 +156,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 10
@ -185,13 +185,13 @@ jobs:
call run_tests.bat
- name: Upload zip
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: firebird-windows-vs-${{ env.VS_VERSION }}-${{ matrix.platform }}-zip
path: builds/install_images/Firebird-*-windows-${{ matrix.platform }}.zip
- name: Upload installer
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: firebird-windows-vs-${{ env.VS_VERSION }}-${{ matrix.platform }}-installer
path: builds/install_images/*-windows-${{ matrix.platform }}.exe
@ -206,7 +206,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 10
@ -235,25 +235,25 @@ jobs:
call run.bat C:\fbscripts\build-%PLATFORM%.bat
- name: Upload zip
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: firebird-windows-${{ matrix.platform }}-zip
path: builds/install_images/Firebird-*-windows-${{ matrix.platform }}.zip
- name: Upload zip (withDebugSymbols)
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: firebird-windows-${{ matrix.platform }}-withDebugSymbols-zip
path: builds/install_images/Firebird-*-windows-${{ matrix.platform }}-withDebugSymbols.zip
- name: Upload installer
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: firebird-windows-${{ matrix.platform }}-installer
path: builds/install_images/*-windows-${{ matrix.platform }}.exe
- name: Upload installer (withDebugSymbols)
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: firebird-windows-${{ matrix.platform }}-withDebugSymbols-installer
path: builds/install_images/*-windows-${{ matrix.platform }}-withDebugSymbols.exe
@ -282,7 +282,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 10
submodules: 'true'
@ -292,7 +292,7 @@ jobs:
brew install automake autoconf-archive cmake libtool ninja
- name: Cache - vcpkg
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ runner.os }}-vcpkg
path: |
@ -325,7 +325,7 @@ jobs:
mv gen/Release/*.pkg gen/artifacts
- name: Upload installer
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: firebird-macos-${{ matrix.arch }}
path: gen/artifacts
@ -356,7 +356,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 10
@ -380,7 +380,7 @@ jobs:
builds/install/arch-specific/android/BuildPackage.sh $ARCH
- name: Upload initial build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: firebird-android-initial-${{ matrix.arch }}
path: |
@ -405,7 +405,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 10
@ -416,13 +416,13 @@ jobs:
sudo udevadm trigger --name-match=kvm
- name: Download initial build
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: firebird-android-initial-${{ matrix.arch }}
path: gen
- name: Cache - AVD
uses: actions/cache@v3
uses: actions/cache@v4
id: avd-cache
with:
path: |
@ -460,19 +460,19 @@ jobs:
NDK=/usr/local/lib/android/sdk/ndk/25.1.8937393 builds/install/arch-specific/android/BuildFinalPackage.sh $ARCH
- name: Upload installer
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: firebird-android-${{ matrix.arch }}
path: gen/Firebird-*-android-${{ matrix.arch }}.tar.gz
- name: Upload installer (withDebugSymbols)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: firebird-android-${{ matrix.arch }}-withDebugSymbols
path: gen/Firebird-*-android-${{ matrix.arch }}-withDebugSymbols.tar.gz
- name: Delete initial build
uses: geekyeggo/delete-artifact@v1
uses: geekyeggo/delete-artifact@v4
with:
name: firebird-android-initial-${{ matrix.arch }}
@ -489,30 +489,30 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 10
- name: Download final build (x86)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: firebird-android-x86
path: android/temp
- name: Download final build (x64)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: firebird-android-x64
path: android/temp
- name: Download final build (arm32)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: firebird-android-arm32
path: android/temp
- name: Download final build (arm64)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: firebird-android-arm64
path: android/temp
@ -539,7 +539,7 @@ jobs:
embedded/build/outputs/aar/Firebird-$FB_VERSION-android-embedded.aar
- name: Upload installer
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: firebird-android-aar
path: android/embedded/build/outputs/aar/Firebird-*-android-embedded.aar