update ci workflow #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Addon | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
# Build the Windows Artifacts | |
build-windows: | |
name: 🏁 Build Windows | |
uses: ./.github/workflows/build-windows.yml | |
# Build the Linux Artifacts | |
build-linux: | |
name: 🐧 Build Linux | |
uses: ./.github/workflows/build-linux.yml | |
# Build the Android Artifacts | |
build-android: | |
name: 🤖 Build Android | |
uses: ./.github/workflows/build-android.yml | |
# Build the iOS Artifacts | |
build-ios: | |
name: 🍏 Build iOS | |
uses: ./.github/workflows/build-ios.yml | |
# Assemble the Addon | |
assemble-addon: | |
name: Assemble Addon | |
runs-on: ubuntu-22.04 | |
needs: [build-windows, build-linux, build-android, build-ios] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Download all workflow run artifacts | |
uses: actions/download-artifact@v4 | |
with: | |
pattern: build-artifact-* | |
- name: Populate Addon | |
run: | | |
mkdir dist | |
cp -a addons dist/ | |
cp LICENSE addons/GDMP/ | |
cp README.md dist/ | |
mkdir -p dist/addons/GDMP/libs/x86_64/ | |
cp build-artifact-windows/*.dll dist/addons/GDMP/libs/x86_64/ | |
cp build-artifact-linux/*.so dist/addons/GDMP/libs/x86_64/ | |
cp build-artifact-android/*.aar dist/addons/GDMP/libs/ | |
cp -a build-artifact-ios/*.framework dist/addons/GDMP/libs/ | |
- name: Create Addon Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Addon | |
path: | | |
dist |