mirror of https://github.com/qpdf/qpdf.git
Upgrade artifacts actions
This commit is contained in:
parent
62cc38b4bd
commit
689a093e32
|
@ -28,19 +28,19 @@ jobs:
|
||||||
- name: 'Run pre-build steps'
|
- name: 'Run pre-build steps'
|
||||||
run: build-scripts/prebuild ${{ secrets.GITHUB_TOKEN }}
|
run: build-scripts/prebuild ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: 'Upload documentation for later build steps'
|
- name: 'Upload documentation for later build steps'
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: doc
|
name: doc
|
||||||
path: doc.zip
|
path: doc.zip
|
||||||
- name: 'Upload external libs'
|
- name: 'Upload external libs'
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
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@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: distribution
|
name: distribution-prebuild
|
||||||
path: distribution
|
path: distribution
|
||||||
Linux:
|
Linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -49,9 +49,9 @@ jobs:
|
||||||
- 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@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: distribution
|
name: distribution-linux
|
||||||
path: distribution
|
path: distribution
|
||||||
Windows:
|
Windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
@ -68,12 +68,12 @@ jobs:
|
||||||
run: git config --global core.autocrlf input
|
run: git config --global core.autocrlf input
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: 'Download documentation'
|
- name: 'Download documentation'
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: doc
|
name: doc
|
||||||
path: .
|
path: .
|
||||||
- name: 'Download external libs'
|
- name: 'Download external libs'
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: external-libs
|
name: external-libs
|
||||||
path: .
|
path: .
|
||||||
|
@ -81,9 +81,9 @@ 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@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: distribution
|
name: distribution-windows-${{ matrix.wordsize }}-${{ matrix.tool }}
|
||||||
path: distribution
|
path: distribution
|
||||||
macOS:
|
macOS:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
@ -100,9 +100,9 @@ jobs:
|
||||||
- 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@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: distribution
|
name: distribution-appimage
|
||||||
path: distribution
|
path: distribution
|
||||||
pikepdf:
|
pikepdf:
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -152,3 +152,16 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: ${{ matrix.script }}
|
- name: ${{ matrix.script }}
|
||||||
run: build-scripts/${{ matrix.script }}
|
run: build-scripts/${{ matrix.script }}
|
||||||
|
MergeArtifacts:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs:
|
||||||
|
- Prebuild
|
||||||
|
- Linux
|
||||||
|
- Windows
|
||||||
|
- AppImage
|
||||||
|
steps:
|
||||||
|
- name: Merge Artifacts
|
||||||
|
uses: actions/upload-artifact/merge@v4
|
||||||
|
with:
|
||||||
|
name: distribution
|
||||||
|
pattern: distribution-*
|
||||||
|
|
Loading…
Reference in New Issue