Skip to content

Commit

Permalink
Add a smokebuild.yaml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eymar committed Dec 10, 2024
1 parent 6af222d commit 671b595
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/smokebuild.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Smoke build

on:
workflow_dispatch:
pull_request:
push:
branches:
- "main"

jobs:
build:
name: Publish to MavenLocal and Build Examples
runs-on: ubuntu-latest
steps:
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'

- name: Checkout code
uses: actions/checkout@v3

- name: Publish to Maven Local
run: ./gradlew publishToMavenLocal

- name: Build Stories for Wasm target
run: |
cd examples
../gradlew wasmJsBrowserStoriesProductionExecutableDistribution
- name: Build Stories for Desktop target
run: |
cd examples
../gradlew desktopStorytaleGenerate

0 comments on commit 671b595

Please sign in to comment.