Merge branch 'main' into database

This commit is contained in:
2025-04-16 13:48:20 -05:00
+77 -29
View File
@@ -15,29 +15,8 @@ env:
NODE_OPTIONS: "--max-old-space-size=4096"
jobs:
build:
strategy:
# Failure in one platform build won't impact the others
fail-fast: false
matrix:
build:
- name: 'yellowjacket'
platform: 'linux/amd64'
os: 'ubuntu-latest'
bin-name: 'yellowjacket'
artifact-name: 'yellowjacket'
- name: 'yellowjacket'
platform: 'windows/amd64'
os: 'windows-latest'
bin-name: 'yellowjacket'
artifact-name: 'yellowjacket.exe'
- name: 'yellowjacket'
platform: 'darwin/universal'
os: 'macos-latest'
bin-name: 'yellowjacket.app'
artifact-name: 'yellowjacket.app'
runs-on: ${{ matrix.build.os }}
build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
@@ -58,27 +37,96 @@ jobs:
uses: dAppServer/wails-build-action@main
id: build
with:
build-name: ${{ matrix.build.name }}
build-platform: ${{ matrix.build.platform }}
build-name: yellowjacket
build-platform: 'linux/amd64'
go-version: '1.24'
package: false
app-working-directory: ${{ github.workspace }}
- name: List Files
run: find ${{ github.workspace }}/build -type f
- name: Upload Binaries
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.build.artifact-name }}
path: ${{ github.workspace }}/build/bin/${{ matrix.build.bin-name }}
name: yellowjacket
path: ${{ github.workspace }}/build/bin/yellowjacket
build-mac:
runs-on: 'macos-latest'
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Build wails
uses: dAppServer/wails-build-action@main
id: build
with:
build-name: yellowjacket
build-platform: 'darwin/universal'
go-version: '1.24'
package: false
app-working-directory: ${{ github.workspace }}
- name: List Files
run: find ${{ github.workspace }}/build -type f
- name: Upload Binaries
uses: actions/upload-artifact@v4
with:
name: yellowjacket.app.zip
path: ${{ github.workspace }}/build/bin/yellowjacket.app.zip
build-windows:
runs-on: 'windows-latest'
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Build wails
uses: dAppServer/wails-build-action@main
id: build
with:
build-name: yellowjacket.exe
build-platform: 'windows/amd64'
go-version: '1.24'
package: false
app-working-directory: ${{ github.workspace }}
- name: List Files
shell: powershell
run: Get-ChildItem -Path ${{ github.workspace }}\build -Recurse -File
- name: Upload Binaries
uses: actions/upload-artifact@v4
with:
name: yellowjacket.exe
path: ${{ github.workspace }}\build\bin\yellowjacket.exe
release:
runs-on: ubuntu-latest
needs: build
needs: [build-linux, build-mac, build-windows]
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
merge-multiple: true
path: ${{ github.workspace }}/bin
- run: find ${{ github.workspace }}/bin -type f
- name: Release
uses: softprops/action-gh-release@v2
if: github.ref_type == 'tag'
@@ -94,5 +142,5 @@ jobs:
- Linux: `yellowjacket`
- Windows: `yellowjacket.exe`
- MacOS: `yellowjacket.app`
- MacOS: `yellowjacket.app.zip`
files: ${{ github.workspace }}/bin/*