Skip to content

Commit

Permalink
Update actions for final releas
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasWM committed Apr 17, 2024
1 parent 4918a25 commit 5e52386
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build and Test

on: [none]
on: [push]

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand Down
21 changes: 9 additions & 12 deletions .github/workflows/build_fluid_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
name: 'Build FLUID User Handbook'

# This job must be called explicitly form the 'Actions' tab in GitHub
on: push

#on:
# workflow_dispatch:
# inputs:
# build-pdf:
# type: boolean
# description: Build pdf file as well
# default: 'true'
on: [workflow_dispatch]

permissions:
contents: read
Expand Down Expand Up @@ -75,13 +67,18 @@ jobs:
export DISPLAY=:19
cmake --build . --config Debug --target fluid_docs
cmake --build . --config Debug --target fluid_pdf
- name: Store pdf as an artifact
- name: Store html docs as an artifact
uses: actions/upload-artifact@v4
with:
name: fluid-html
path: build/fluid/documentation/html
retention-days: 3
overwrite: true
- name: Store pdf docs as an artifact
uses: actions/upload-artifact@v4
with:
name: fluid-pdf
path: build/fluid/documentation/fluid.pdf
retention-days: 3
overwrite: true

# path: ${{github.workspace}}/build/fluid/documentation/fluid.pdf

0 comments on commit 5e52386

Please sign in to comment.