Skip to content

Commit

Permalink
Fix CI: Pin versions, tidy up upload-artifact calls (#185)
Browse files Browse the repository at this point in the history
* CI: Bump runner version

* Restrict pandoc/latex container version to 2

* Remove duplicate calls to upload-artifact

* Fix image URL

* Name individual upload-artifacts steps
  • Loading branch information
MakisH authored Oct 15, 2024
1 parent 5658127 commit 2f8d18b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/create-pdfs-from-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:

jobs:
create_pdfs:
runs-on: ubuntu-20.04
container: pandoc/latex:latest
runs-on: ubuntu-22.04
container: pandoc/latex:2
steps:
- name: Install bash
run: apk add bash
Expand All @@ -21,31 +21,23 @@ jobs:
- name: Compile PDFs (slides)
run: |
./scripts/create-pdf-from-markdown.sh slides
- uses: actions/upload-artifact@master
- name: Upload slides
uses: actions/upload-artifact@master
with:
name: slides
path: slides
retention-days: 7
- name: Compile PDFs (quizzes)
run: |
./scripts/create-pdf-from-markdown.sh quiz
- uses: actions/upload-artifact@master
with:
name: texts
path: texts
retention-days: 7
- name: Compile PDFs (exercises)
run: |
./scripts/create-pdf-from-markdown.sh exercise
- uses: actions/upload-artifact@master
with:
name: texts
path: texts
retention-days: 7
- name: Compile PDFs (demos)
run: |
./scripts/create-pdf-from-markdown.sh demo
- uses: actions/upload-artifact@master
- name: Upload texts
uses: actions/upload-artifact@master
with:
name: texts
path: texts
Expand Down
2 changes: 1 addition & 1 deletion 01_version_control/git_basics_demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- Maintainer: rebase, squash, cherry-pick, bisect
- Owner: submodules

![git overview picture from py-rse](https://merely-useful.tech/py-rse/figures/git-cmdline/git-remote.png)
![git overview picture from py-rse](https://third-bit.com/py-rse/figures/git-cmdline/git-remote.png)

- `git --help`, `git commit --help`
- incomplete statement `git comm`
Expand Down

0 comments on commit 2f8d18b

Please sign in to comment.