From f4410f9e6b9d407eb063193a5a0b827386636559 Mon Sep 17 00:00:00 2001 From: Brad Trotter Date: Sat, 9 Dec 2023 13:03:51 -0500 Subject: [PATCH] added automatic release creation on new commits --- .github/workflows/makefile.yml | 55 +++++++++++++++++++--------------- 1 file changed, 31 insertions(+), 24 deletions(-) diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index 2130a45..c5b90c1 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -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