forked from ThummeTo/FMIFlux.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 1.01 KB
/
PlutoExampleBuilder.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: PlutoExampleBuilder
on:
workflow_dispatch:
push:
branches:
- pluto-test
paths:
- 'src/**'
- 'examples/src/**'
- '.github/workflows/PlutoExampleBuilder.yml'
- 'Project.toml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Check out repository"
uses: actions/checkout@v3
- name: "Set up Julia"
uses: julia-actions/setup-julia@v1
with:
version: '1.10'
- run: julia -e 'using Pkg; Pkg.add("PlutoSliderServer"); Pkg.add("FMIFlux")'
- run: julia -e 'using PlutoSliderServer; PlutoSliderServer.export_directory("examples/src/pluto")'
- name: Archive examples artifacts (success)
if: success()
uses: actions/upload-artifact@v3
with:
name: pluto-dbg
path: examples/src/*
- name: Archive examples artifacts (failure)
if: failure()
uses: actions/upload-artifact@v3
with:
name: pluto-dbg
path: examples/src/*