Skip to content

Commit

Permalink
Merge pull request #359 from OpenWebGAL/dev
Browse files Browse the repository at this point in the history
4.5.11
  • Loading branch information
MakinoharaShoko authored Dec 26, 2024
2 parents 955440d + e89f78e commit 4916c24
Show file tree
Hide file tree
Showing 30 changed files with 4,696 additions and 4,809 deletions.
34 changes: 24 additions & 10 deletions .github/workflows/build-terre.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
name: Build WebGAL Terre

on:
workflow_dispatch:
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize

jobs:
build-linux:
Expand All @@ -15,17 +21,19 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: package.json
cache: 'yarn'
- name: Build
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: sh release-linux.sh
- name: Compress
run: 7z a -tzip release/WebGAL_Terre_Linux.zip release/*
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: WebGAL_Terre_Linux
path: release
path: release/WebGAL_Terre_Linux.zip
build-arm64:
name: Build Linux ARM64 Binary
runs-on: ubuntu-latest
Expand All @@ -35,7 +43,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: package.json
cache: 'yarn'
- name: Build Stage 1
run: |
Expand Down Expand Up @@ -110,11 +118,14 @@ jobs:
rm -rf assets/templates/WebGAL_Android_Template/app/src/main/assets/webgal/.gitkeep
rm -rf assets/templates/WebGAL_Android_Template/app/src/main/java/com
echo "WebGAL Terre is now ready to be deployed."
- name: Compress
run: 7z a -tzip release/WebGAL_Terre_Linux_Arm64.zip release/*

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: WebGAL_Terre_Linux_Arm64
path: release
path: release/WebGAL_Terre_Linux_Arm64.zip
build-mac:
name: Build MacOS Binary
runs-on: macos-14
Expand All @@ -124,17 +135,19 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: package.json
cache: 'yarn'
- name: Build
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: sh release-mac.sh
- name: Compress
run: 7z a -tzip release/WebGAL_Terre_Mac.zip release/*
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: WebGAL_Terre_Mac
path: release
path: release/WebGAL_Terre_Mac.zip
build-windows:
name: Build Windows Binary
runs-on: windows-latest
Expand All @@ -144,16 +157,18 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: package.json
cache: 'yarn'
- name: Build
shell: bash
run: ./release.sh
- name: Compress
run: 7z a -tzip release/WebGAL_Terre_Windows.zip release/*
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: WebGAL_Terre_Windows
path: release
path: release/WebGAL_Terre_Windows.zip
build-windows-nsis:
name: Build Windows Setup
runs-on: windows-latest
Expand All @@ -163,7 +178,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: package.json
cache: 'yarn'
- name: Build
shell: bash
Expand All @@ -176,4 +191,3 @@ jobs:
with:
name: WebGAL_Terre_Windows_Setup
path: bundle/WebGal_Terre_Setup.exe

181 changes: 0 additions & 181 deletions .github/workflows/pr-check.yml

This file was deleted.

Loading

0 comments on commit 4916c24

Please sign in to comment.