Skip to content

Commit

Permalink
Bump upload-artifact and download-artifact action to v4 (#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinBuira authored Jan 16, 2025
1 parent 49f4848 commit 7d4d0ae
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ jobs:
patchelf --replace-needed ${SQLITE_LIB} libsqlite3.so.0 ./pygeodiff-binaries/libpygeodiff-${GEODIFF_VER}-python.so
patchelf --remove-rpath ./pygeodiff-binaries/libpygeodiff-${GEODIFF_VER}-python.so
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: artifact-pygeodiff-linux
path: ./pygeodiff-binaries/*.so

build_windows_binaries:
Expand All @@ -75,8 +76,9 @@ jobs:
unzip -o pygeodiff-$env:GEODIFF_VER-cp$env:PYTHON_VER-cp$env:PYTHON_VER-win_amd64.whl -d tmp64
copy tmp64\pygeodiff\*.pyd pygeodiff-binaries\
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: artifact-pygeodiff-windows
path: ./pygeodiff-binaries/*.pyd

build_macos_binary:
Expand Down Expand Up @@ -109,8 +111,9 @@ jobs:
exit 1
fi
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: artifact-pygeodiff-macos
path: ./pygeodiff-binaries/*.dylib

create_mergin_plugin_package:
Expand Down Expand Up @@ -147,8 +150,16 @@ jobs:
echo "geodiff version defined in python-api-client requires.txt $GEODIFF_VER_FROM_CLIENT does not equal $GEODIFF_VER from the workpackage file"
exit 1; # or just warning??
fi
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: artifact
path: artifact-pygeodiff
pattern: artifact-pygeodiff-*
merge-multiple: true
delete-merged: true

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: pygeodiff-binaries
Expand All @@ -169,7 +180,9 @@ jobs:
cp qgis-mergin-plugin/LICENSE.txt output/Mergin/LICENSE
(cd output && zip -r9 ../mergin.zip Mergin/)
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Mergin
path: output/
Expand Down

0 comments on commit 7d4d0ae

Please sign in to comment.