Skip to content

Commit

Permalink
Change runners (ubuntu-latest -> ubuntu-24) (#102)
Browse files Browse the repository at this point in the history
* Try to remove pandoc workaround

* Try to force 24.04

* Revert to run only on master
  • Loading branch information
dreamos82 authored Oct 24, 2024
1 parent fc31880 commit f548482
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/pandoc_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,15 @@ jobs:
# This workflow contains a single job called "build"
build:
# It will run on ubuntu-latest image
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Install dependencies
# WE need to manually install pandoc, because the version carried with ubuntu 22.04 is affected by a bug that cause the build to fail
run: |
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y install texlive-latex-base texlive texlive-xetex texlive-fonts-recommended librsvg2-2 liblua5.3-0 librsvg2-bin librsvg2-common
wget http://launchpadlibrarian.net/620071728/libgmp10_6.2.1+dfsg1-1ubuntu2_amd64.deb
wget https://blueprints.launchpad.net/ubuntu/+archive/primary/+files/pandoc_2.17.1.1-1ubuntu2_amd64.deb
wget http://launchpadlibrarian.net/621653025/pandoc-data_2.17.1.1-1ubuntu2_all.deb
sudo dpkg -i libgmp10_6.2.1+dfsg1-1ubuntu2_amd64.deb
sudo dpkg -i pandoc-data_2.17.1.1-1ubuntu2_all.deb
sudo dpkg -i pandoc_2.17.1.1-1ubuntu2_amd64.deb
sudo apt-get -y install texlive-latex-base texlive texlive-xetex texlive-fonts-recommended librsvg2-2 liblua5.3-0 librsvg2-bin librsvg2-common libgmp10 pandoc pandoc-data
- name: Run build script
run: |
pandoc -v
Expand Down

0 comments on commit f548482

Please sign in to comment.