-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
54 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Ubuntu Workflow | ||
|
||
on: | ||
pull_request: | ||
branches: [ master-with-README ] | ||
push: | ||
# manual run in actions tab - for all branches | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
name: Build, test and provide nightly | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
include: | ||
- os: ubuntu-latest | ||
skip_test: true | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install packages | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install texlive texlive-latex-extra texlive-plain-generic | ||
- name: Set git user | ||
run: | | ||
git config --global user.name github-actions | ||
git config --global user.email github-actions-bot@users.noreply.github.com | ||
- name: Generate PDFs | ||
run: | | ||
cd guide | ||
make pdf | ||
- name: Upload all pdfs | ||
uses: actions/upload-artifact@v3.1.0 | ||
with: | ||
name: gnucobol-docs-all-pdfs | ||
path: guide/PDFs/*.pdf | ||
if-no-files-found: error | ||
retention-days: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters