mirror of
https://github.com/libtom/libtomcrypt
synced 2026-08-25 20:26:07 -04:00
In workflows, modernise the actions that are used
actions/checkout@v2 → actions/checkout@v4 actions/upload-artifact@v3 → actions/upload-artifact@v4 This will reduce the amount of warnings in the workflow summary.
This commit is contained in:
parent
cacfc2dc04
commit
3cea832f5e
1 changed files with 4 additions and 4 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
|
@ -17,13 +17,13 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
container: texlive/texlive:latest-medium
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
- name: generate PDF
|
||||
run: |
|
||||
make docs
|
||||
cp doc/crypt.pdf crypt-${{ github.run_id }}.pdf
|
||||
- name: upload PDF
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: crypt-${{ github.run_id }}.pdf
|
||||
path: crypt-${{ github.run_id }}.pdf
|
||||
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
- { BUILDNAME: 'STOCK+ARGTYPE=3', BUILDOPTIONS: '-DARGTYPE=3', BUILDSCRIPT: '.ci/run.sh' }
|
||||
- { BUILDNAME: 'STOCK+ARGTYPE=4', BUILDOPTIONS: '-DARGTYPE=4', BUILDSCRIPT: '.ci/run.sh' }
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
- name: install dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
|
|
@ -89,7 +89,7 @@ jobs:
|
|||
tar cJf build-${{ github.run_id }}.tar.xz --exclude ./build-${{ github.run_id }}.tar.xz .
|
||||
- name: upload Artifact
|
||||
if: ${{ failure() }}
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: build-${{ github.run_id }}.tar.xz
|
||||
path: build-${{ github.run_id }}.tar.xz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue