Skip to content

Commit

Permalink
Update github_snapshot_build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanlorng authored Nov 6, 2024
1 parent d083526 commit f718582
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/github_snapshot_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

strategy:
matrix:
type: [PublishLibrary, Android, Windows, Linux, macOS, iOS]
type: [PublishLibrary, Android, Windows, Linux, macOS, iOS, WasmJs, Js]
include:
- type: PublishLibrary
publish: release
Expand All @@ -38,6 +38,12 @@ jobs:
- type: iOS
iOS: ipa
os: macos-latest
- type: WasmJs
js: wasmJs
os: macos-latest
- type: Js
js: js
os: macos-latest

runs-on: ${{ matrix.os }}
permissions:
Expand Down Expand Up @@ -131,3 +137,16 @@ jobs:
with:
name: Gallery-${{ matrix.type }}-${{ github.run_id }}
path: ${{ github.workspace }}/gallery/iosApp/build/

- name: Build Gallery for ${{ matrix.type }}
if: ${{ matrix.js }}
run: |
./gradlew :gallery:${{ matrix.js }}BrowserDistribution
- name: Upload ${{ matrix.type }} build artifacts
if: ${{ matrix.js }}
uses: actions/upload-artifact@v4
with:
name: Gallery-${{ matrix.type }}-${{ github.run_id }}
path: ./gallery/build/dist/${{ matrix.js }}/productionExecutable

0 comments on commit f718582

Please sign in to comment.