Skip to content

Commit

Permalink
Update deprecated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Jan 26, 2024
1 parent d428299 commit c05ee82
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -549,9 +549,9 @@ jobs:
- win_x86_v8
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: nuget
- name: Prepare header files
Expand All @@ -575,7 +575,7 @@ jobs:
echo "::endgroup::"
done
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: NuGet packages
path: '*.nupkg'
Expand All @@ -598,9 +598,9 @@ jobs:
- win_x64
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: Create build script
run: |
cat >conda-build.sh <<END
Expand Down Expand Up @@ -631,12 +631,12 @@ jobs:
- name: Build for win-arm64
run: ./conda-build.sh win-arm64 pdfium-win-arm64
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Conda packages
path: conda/out/
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
- name: Install anaconda-client
run: conda install -yq anaconda-client
shell: bash -l {0}
Expand Down Expand Up @@ -693,7 +693,7 @@ jobs:
- win_x86_v8
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: Create tarballs
run: |
for DIR in pdfium-*; do
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
[ "${{inputs.is_debug}}" == "true" ] && ARTIFACT="$ARTIFACT-debug"
echo "artifact=$ARTIFACT" >> $GITHUB_OUTPUT
- name: Checkout this repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Workaround for libpcre2 i386 # https://github.com/actions/virtual-environments/issues/4589#issuecomment-1100899313
if: inputs.target_os == 'android'
run: |
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
run: steps/07-stage.sh
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.init.outputs.artifact }}
path: staging/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mac-univ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
run: |
echo "artifact=${{inputs.artifact_x64}}" | sed "s/x64/univ/g" >> $GITHUB_OUTPUT
- name: Download ${{ inputs.artifact_x64 }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ inputs.artifact_x64 }}
path: ${{ inputs.artifact_x64 }}
- name: Download ${{ inputs.artifact_arm64 }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ inputs.artifact_arm64 }}
path: ${{ inputs.artifact_arm64 }}
Expand All @@ -45,7 +45,7 @@ jobs:
${{ inputs.artifact_x64 }}/lib/libpdfium.dylib \
-output ${{ steps.init.outputs.artifact }}/lib/libpdfium.dylib
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.init.outputs.artifact }}
path: ${{ steps.init.outputs.artifact }}
2 changes: 1 addition & 1 deletion .github/workflows/patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout this repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install depot_tools
run: |
Expand Down

0 comments on commit c05ee82

Please sign in to comment.