Bump actions/upload-artifact from 3 to 4 (#31) #81
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
name: check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
- cron: '1 2 5 * *' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
changelog: | |
name: CHANGELOG.md | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
with: | |
show-progress: 'false' | |
- name: Lint CHANGELOG.md | |
uses: jbangdev/[email protected] | |
with: | |
script: com.github.nbbrd.heylogs:heylogs-cli:0.7.1:bin | |
scriptargs: "check CHANGELOG.md" | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
show-progress: 'false' | |
- name: Install TeX Live | |
uses: zauguin/install-texlive@v3 | |
with: | |
package_file: Texlivefile | |
- name: Build basic-test-en | |
run: | | |
pdflatex basic-test-en | |
biber basic-test-en | |
pdflatex basic-test-en | |
pdflatex basic-test-en | |
- run: texlogsieve basic-test-en.log | |
- name: Build basic-test-de | |
run: | | |
pdflatex basic-test-de | |
biber basic-test-de | |
pdflatex basic-test-de | |
pdflatex basic-test-de | |
- run: texlogsieve basic-test-de.log | |
- name: Build mwe-de | |
run: | | |
pdflatex mwe-de | |
biber mwe-de | |
pdflatex mwe-de | |
pdflatex mwe-de | |
- run: texlogsieve mwe-de.log | |
- name: Build mwe-en | |
run: | | |
pdflatex mwe-en | |
biber mwe-en | |
pdflatex mwe-en | |
pdflatex mwe-en | |
- run: texlogsieve mwe-en.log | |
- name: Upload PDFs | |
uses: actions/upload-artifact@v4 | |
with: | |
name: PDFs | |
path: | | |
*.log | |
- name: Prepare for CTAN | |
run: | | |
git config --global --add safe.directory /__w/biblatex-lni/biblatex-lni | |
./release.sh | |
- name: Upload CTAN build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: CTAN | |
path: 'biblatex-lni.zip' | |
- name: pkgcheck | |
run: | | |
set -e | |
wget https://gitlab.com/Lotz/pkgcheck/raw/master/bin/pkgcheck -q --output-document=/usr/local/bin/pkgcheck && chmod a+x /usr/local/bin/pkgcheck | |
mv biblatex-lni.zip /tmp | |
cd /tmp | |
unzip biblatex-lni.zip | |
pkgcheck -d /tmp/biblatex-lni |