Skip to content

Merge branch 'merge_conflicts' into 'master' #1

Merge branch 'merge_conflicts' into 'master'

Merge branch 'merge_conflicts' into 'master' #1

name: Build docs and release (master)
on:
push:
branches:
- 'master'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Install Doxygen and Graphviz
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: doxygen graphviz
version: 1.0 # Version of cache to load. Each version will have its own cache.
- name: Build docs
uses: threeal/[email protected]
with:
source-dir: ./
build-dir: build
options: |
BUILD_DOCS=ON
USE_TREZOR_CRYPTO=ON
- name: Archive HTML docs
uses: thedoctor0/[email protected]
with:
type: 'zip'
filename: 'libtropic-html-docs.zip'
directory: 'build/docs/doxygen/html/'
- name: Upload HTML docs release
uses: ncipollo/[email protected]
with:
allowUpdates: true
artifactErrorsFailBuild: true
artifacts: 'build/docs/doxygen/html/libtropic-html-docs.zip'
makeLatest: true
name: 'HTML Documentation'
prerelease: false
replacesArtifacts: true
tag: 'latest'