From 5bf1208b5f5723d63dda7c9ff439d880e9f48f63 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 14 Sep 2022 12:07:00 +0300 Subject: [PATCH 1/4] added workflow to create pdf docs (experimental) --- .github/workflows/pdf.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pdf.yml diff --git a/.github/workflows/pdf.yml b/.github/workflows/pdf.yml new file mode 100644 index 0000000..216678c --- /dev/null +++ b/.github/workflows/pdf.yml @@ -0,0 +1,19 @@ +name: Makefile CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: xu-cheng/texlive-action/full@v1 + + - name: Make manual + run: make pdf From 365ddd471aa7aed6ab757458185734660bc0056b Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 14 Sep 2022 12:13:37 +0300 Subject: [PATCH 2/4] added make logging to track dependencies in github actions... --- .github/workflows/pdf.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pdf.yml b/.github/workflows/pdf.yml index 216678c..8bc4f47 100644 --- a/.github/workflows/pdf.yml +++ b/.github/workflows/pdf.yml @@ -16,4 +16,4 @@ jobs: - uses: xu-cheng/texlive-action/full@v1 - name: Make manual - run: make pdf + run: make -n pdf From 2b17026c68278603793d7ce279d881d2b044553e Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 14 Sep 2022 12:24:16 +0300 Subject: [PATCH 3/4] added experimental release upload... --- .github/workflows/pdf.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pdf.yml b/.github/workflows/pdf.yml index 8bc4f47..9d629e0 100644 --- a/.github/workflows/pdf.yml +++ b/.github/workflows/pdf.yml @@ -17,3 +17,10 @@ jobs: - name: Make manual run: make -n pdf + + - name: Release + uses: softprops/action-gh-release@v1 + with: + files: photobook.pdf + + From 370f3cfc8c3fd750a12f0fe6f988cfda32b9d1e5 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 14 Sep 2022 16:00:45 +0300 Subject: [PATCH 4/4] now updating dist... --- .github/workflows/pdf.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pdf.yml b/.github/workflows/pdf.yml index 9d629e0..88d6a06 100644 --- a/.github/workflows/pdf.yml +++ b/.github/workflows/pdf.yml @@ -16,11 +16,12 @@ jobs: - uses: xu-cheng/texlive-action/full@v1 - name: Make manual - run: make -n pdf + run: make -n dist - name: Release uses: softprops/action-gh-release@v1 with: - files: photobook.pdf + if: startsWith(github.ref, 'refs/tags/') + files: dist/photobook*.zip