Skip to content

Commit

Permalink
Merge pull request #11 from billymeter/master
Browse files Browse the repository at this point in the history
Automatically create a Release on commit
  • Loading branch information
jestin authored Dec 9, 2023
2 parents 7188979 + f4410f9 commit 4b0ec25
Showing 1 changed file with 31 additions and 24 deletions.
55 changes: 31 additions & 24 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,41 @@ name: Makefile CI

on:
push:
branches: [ "master" ]
branches: ["master"]
pull_request:
branches: [ "master" ]
branches: ["master"]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Update Dependencies
run: sudo apt-get update

- name: Install LaTeX
run: sudo apt-get install -y texlive-xetex texlive-bibtex-extra biber

- name: Compile User Guide PDF
run: make
- uses: actions/upload-artifact@v3
with:
name: X16UsersGuide.pdf
path: x16_user_guide.pdf

- name: Compile Getting Started Guide PDF
run: make getting_started
- uses: actions/upload-artifact@v3
with:
name: X16GettingStarted.pdf
path: x16_getting_started.pdf
- uses: actions/checkout@v3

- name: Update Dependencies
run: sudo apt-get update

- name: Install LaTeX
run: sudo apt-get install -y texlive-xetex texlive-bibtex-extra biber

- name: Compile User Guide PDF
run: make
- uses: actions/upload-artifact@v3
with:
name: X16UsersGuide.pdf
path: x16_user_guide.pdf

- name: Compile Getting Started Guide PDF
run: make getting_started
- uses: actions/upload-artifact@v3
with:
name: X16GettingStarted.pdf
path: x16_getting_started.pdf

- name: Create release
uses: softprops/action-gh-release@v1
with:
tag_name: X16_Users_Guide
files: |
x16_user_guide.pdf
x16_getting_started.pdf

0 comments on commit 4b0ec25

Please sign in to comment.