Skip to content

Commit 8dc7ea5

Browse files
committed
update github actions
u
1 parent d569030 commit 8dc7ea5

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/sample_problem_docs.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,19 @@ on:
1212
jobs:
1313
create-sample-problems:
1414
# The type of runner that the job will run on
15-
runs-on: ubuntu-22.04
15+
runs-on: ubuntu-24.04
1616

1717
# Steps represent a sequence of tasks that will be executed as part of the job
1818
steps:
19+
- name: Install Ubuntu dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install -y --no-install-recommends --no-install-suggests \
23+
cpanminus \
24+
pandoc \
25+
libmojolicious-perl \
26+
libyaml-libyaml-perl \
27+
libpandoc-wrapper-perl
1928
- name: Checkout pg-docs code
2029
uses: actions/checkout@v4
2130
with:
@@ -24,24 +33,15 @@ jobs:
2433
- name: Checkout PG code
2534
uses: actions/checkout@v4
2635
with:
27-
repository: pstaabp/pg
36+
repository: openwebwork/pg
2837
ref: PG-2.20
2938
path: pg
3039
persist-credentials: false
31-
- name: Install Ubuntu dependencies
32-
run: |
33-
sudo apt-get update
34-
sudo apt-get install -y --no-install-recommends --no-install-suggests \
35-
cpanminus \
36-
pandoc \
37-
libmojolicious-perl \
38-
libyaml-libyaml-perl \
39-
libpandoc-wrapper-perl
4040

4141
# Runs a set of commands using the runners shell
4242
- name: parse sample problems
4343
run: |
44-
perl pg/bin/parse-prob-doc.pl \
44+
perl pg/bin/parse-problem-doc.pl \
4545
--problem_dir=/home/runner/work/pg-docs/pg-docs/pg/doc/sample-problems \
4646
--out_dir=/home/runner/work/pg-docs/pg-docs/sample-problems \
4747
--pod_root=https://openwebwork.github.io/pg-docs/pod \

0 commit comments

Comments
 (0)