From 064602b77eade435b54ffa7ac17d64e3e45753bb Mon Sep 17 00:00:00 2001 From: Vijai Kumar S <2363451+vijaiaeroastro@users.noreply.github.com> Date: Tue, 15 Oct 2024 03:51:42 +0200 Subject: [PATCH] fixing build issues (#210) * Update build.yml * Update build.yml * Update build.yml * Update build.yml --------- Co-authored-by: gangatp --- .github/workflows/build.yml | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 59fc2729..e5bc6f27 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,66 +2,69 @@ on: [push, pull_request] name: Build jobs: build-linux: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: true - run: ./build.sh working-directory: ./Build build-macos: - runs-on: macos-10.15 + runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: true + - uses: actions/setup-go@v5.0.2 + with: + go-version: '1.23.2' - run: ./build.sh working-directory: ./Build build-windows: runs-on: windows-2019 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: true - run: ./build.bat working-directory: ./Build - name: Upload Windows 64bit Binary - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: act.win64.exe path: act.win64.exe - name: Upload Windows 32bit Binary - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: act.win32.exe path: act.win32.exe - name: Upload MacOS Binary - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: act.darwin path: act.darwin - name: Upload MacOS ARM Binary - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: act.arm.darwin path: act.arm.darwin - name: Upload Linux 32bit Binary - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: act.linux32 path: act.linux32 - name: Upload Linux ARM 32bit Binary - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: act.arm.linux32 path: act.arm.linux32 - name: Upload Linux 64bit Binary - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: act.linux64 path: act.linux64 - name: Upload Linux ARM 64bit Binary - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: act.arm.linux64 path: act.arm.linux64