2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 10:58:58 +00:00

Upgrade github actions versions

This commit is contained in:
Jay Berkenbilt 2022-11-17 15:47:03 -05:00
parent 434d84ece6
commit 65f9fe41fc
2 changed files with 19 additions and 19 deletions

View File

@ -24,7 +24,7 @@ jobs:
fuzz-seconds: 600 fuzz-seconds: 600
dry-run: false dry-run: false
- name: Upload Crash - name: Upload Crash
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v3
if: failure() if: failure()
with: with:
name: artifacts name: artifacts

View File

@ -24,32 +24,32 @@ jobs:
# build on Linux. Also create the documentation distribution. # build on Linux. Also create the documentation distribution.
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: 'Run pre-build steps' - name: 'Run pre-build steps'
run: build-scripts/prebuild run: build-scripts/prebuild
- name: 'Upload documentation for later build steps' - name: 'Upload documentation for later build steps'
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v3
with: with:
name: doc name: doc
path: doc.zip path: doc.zip
- name: 'Upload external libs' - name: 'Upload external libs'
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v3
with: with:
name: external-libs name: external-libs
path: external-libs-dist path: external-libs-dist
- name: 'Upload doc distribution' - name: 'Upload doc distribution'
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v3
with: with:
name: distribution name: distribution
path: distribution path: distribution
Linux: Linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: 'Generate, build, and test' - name: 'Generate, build, and test'
run: build-scripts/build-linux run: build-scripts/build-linux
- name: Upload distribution - name: Upload distribution
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v3
with: with:
name: distribution name: distribution
path: distribution path: distribution
@ -66,14 +66,14 @@ jobs:
- name: 'Disable git autocrlf' - name: 'Disable git autocrlf'
shell: bash shell: bash
run: git config --global core.autocrlf input run: git config --global core.autocrlf input
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: 'Download documentation' - name: 'Download documentation'
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: doc name: doc
path: . path: .
- name: 'Download external libs' - name: 'Download external libs'
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: external-libs name: external-libs
path: . path: .
@ -81,7 +81,7 @@ jobs:
shell: cmd shell: cmd
run: build-scripts/build-windows.bat ${{ matrix.wordsize }} ${{ matrix.tool }} run: build-scripts/build-windows.bat ${{ matrix.wordsize }} ${{ matrix.tool }}
- name: 'Upload binary distributions' - name: 'Upload binary distributions'
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v3
with: with:
name: distribution name: distribution
path: distribution path: distribution
@ -89,9 +89,9 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
needs: Prebuild needs: Prebuild
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: 'Download external libs' - name: 'Download external libs'
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: external-libs name: external-libs
path: . path: .
@ -101,11 +101,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: Prebuild needs: Prebuild
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: 'Build AppImage' - name: 'Build AppImage'
run: build-scripts/build-appimage run: build-scripts/build-appimage
- name: 'Upload AppImage' - name: 'Upload AppImage'
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v3
with: with:
name: distribution name: distribution
path: distribution path: distribution
@ -113,27 +113,27 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: Prebuild needs: Prebuild
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: 'Linux 32-bit' - name: 'Linux 32-bit'
run: build-scripts/build-linux32 run: build-scripts/build-linux32
Fuzzers: Fuzzers:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: Prebuild needs: Prebuild
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: 'Build Fuzzer' - name: 'Build Fuzzer'
run: build-scripts/build-fuzzer run: build-scripts/build-fuzzer
Sanitizers: Sanitizers:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: Prebuild needs: Prebuild
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: 'Sanitizer Tests' - name: 'Sanitizer Tests'
run: build-scripts/test-sanitizers run: build-scripts/test-sanitizers
UnsignedChar: UnsignedChar:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: Prebuild needs: Prebuild
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: 'Unsigned Char Tests' - name: 'Unsigned Char Tests'
run: build-scripts/test-unsigned-char run: build-scripts/test-unsigned-char