Skip to content

Commit 7b5bcb8

Browse files
committed
update github actions
1 parent d569030 commit 7b5bcb8

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.github/workflows/sample_problem_docs.yml

Lines changed: 12 additions & 11 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,19 +33,11 @@ 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
40+
4041

4142
# Runs a set of commands using the runners shell
4243
- name: parse sample problems

0 commit comments

Comments
 (0)