Skip to content

Commit

Permalink
ci: viewer preview build
Browse files Browse the repository at this point in the history
  • Loading branch information
Cdm2883 committed Sep 24, 2024
1 parent ce745dc commit dae7b3d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/preview-build-viewer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build a preview version for MarkBook Viewer

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: windows-latest
steps:

- name: Checkout master
uses: actions/checkout@v4

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'zulu'

- name: Build with Gradle
run: ./gradlew :markbook-viewer:linkReleaseExecutableMingwX64

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: markbook-viewer-${{ github.sha }}
path: markbook-viewer/build/bin/mingwX64/releaseExecutable/markbook-viewer.exe

0 comments on commit dae7b3d

Please sign in to comment.