Skip to content

Commit f27a312

Browse files
authored
Merge pull request #655 from levitte/upgrade-workflows
In workflows, modernise the actions that are used
2 parents cacfc2d + 3cea832 commit f27a312

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
runs-on: ubuntu-20.04
1818
container: texlive/texlive:latest-medium
1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
2121
- name: generate PDF
2222
run: |
2323
make docs
2424
cp doc/crypt.pdf crypt-${{ github.run_id }}.pdf
2525
- name: upload PDF
26-
uses: actions/upload-artifact@v3
26+
uses: actions/upload-artifact@v4
2727
with:
2828
name: crypt-${{ github.run_id }}.pdf
2929
path: crypt-${{ github.run_id }}.pdf
@@ -53,7 +53,7 @@ jobs:
5353
- { BUILDNAME: 'STOCK+ARGTYPE=3', BUILDOPTIONS: '-DARGTYPE=3', BUILDSCRIPT: '.ci/run.sh' }
5454
- { BUILDNAME: 'STOCK+ARGTYPE=4', BUILDOPTIONS: '-DARGTYPE=4', BUILDSCRIPT: '.ci/run.sh' }
5555
steps:
56-
- uses: actions/checkout@v2
56+
- uses: actions/checkout@v4
5757
- name: install dependencies
5858
run: |
5959
sudo apt-get update -qq
@@ -89,7 +89,7 @@ jobs:
8989
tar cJf build-${{ github.run_id }}.tar.xz --exclude ./build-${{ github.run_id }}.tar.xz .
9090
- name: upload Artifact
9191
if: ${{ failure() }}
92-
uses: actions/upload-artifact@v3
92+
uses: actions/upload-artifact@v4
9393
with:
9494
name: build-${{ github.run_id }}.tar.xz
9595
path: build-${{ github.run_id }}.tar.xz

0 commit comments

Comments
 (0)