Skip to content

Commit

Permalink
Merge pull request #859 from RainerKuemmerle/release-doc
Browse files Browse the repository at this point in the history
Release docs by github actions workflow
  • Loading branch information
RainerKuemmerle authored Dec 30, 2024
2 parents 86d61d5 + b86a812 commit c966ed5
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 626 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Release

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'git$'
pull_request:
branches: [ "master" ]

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 25

- name: Install dependencies
run: |
sudo apt install fig2dev texlive-latex-recommended texlive-science
- name: Build PDF doc
run: |
cd doc
make
ls -l ${{github.workspace}}/doc/*.pdf
# - name: Create github Release
# uses: softprops/action-gh-release@v2
# if: startsWith(github.ref, 'refs/tags/')
# with:
# generate_release_notes: false
# files: |
# ${{github.workspace}}/doc/*.pdf
2 changes: 0 additions & 2 deletions doc/g2o.tex
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
\documentclass[a4paper]{article}
\usepackage{graphicx}
\usepackage{fullpage}
\usepackage{graphicx} % for pdf, bitmapped graphics files
\usepackage{amsmath} % assumes amsmath package installed
\usepackage{amssymb} % assumes amsmath package installed\ref
\usepackage{psfrag}
\usepackage{algorithmic}
\usepackage{algorithm}
\usepackage{color}
\usepackage{xcolor}
Expand Down
Loading

0 comments on commit c966ed5

Please sign in to comment.