From e2f5dc9055d0a7fd36e7be62e5dfb810c93a1378 Mon Sep 17 00:00:00 2001 From: Jan Caha Date: Wed, 22 May 2024 21:20:54 +0200 Subject: [PATCH 1/3] update actions --- .github/workflows/create_releases.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/create_releases.yaml b/.github/workflows/create_releases.yaml index d3d0df3..2847172 100644 --- a/.github/workflows/create_releases.yaml +++ b/.github/workflows/create_releases.yaml @@ -99,7 +99,7 @@ jobs: sudo apt install ./_packages/viewshed_*.deb - name: Upload DEB file as artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: viewshed path: _packages/viewshed_*.deb @@ -109,19 +109,19 @@ jobs: mv _packages/viewshed_*.deb . - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: viewshed_*.deb tag_name: "v${{steps.version.outputs.VERSION}}" - name: Deploy Documentation - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./documentation publish_branch: gh-pages - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{env.PYTHON_VERSION}} architecture: 'x64' @@ -141,7 +141,7 @@ jobs: cd python-package python -m build . - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: python-viewshed path: python-package/dist/viewshed*.whl From 08ccdbb7bfaac6ce35e97d39b18a1e0947550aec Mon Sep 17 00:00:00 2001 From: Jan Caha Date: Wed, 22 May 2024 21:23:56 +0200 Subject: [PATCH 2/3] bump versions --- .github/workflows/create_releases.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create_releases.yaml b/.github/workflows/create_releases.yaml index 2847172..43f32a6 100644 --- a/.github/workflows/create_releases.yaml +++ b/.github/workflows/create_releases.yaml @@ -158,7 +158,7 @@ jobs: uses: actions/checkout@v4 - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: viewshed @@ -208,7 +208,7 @@ jobs: tags: cahik/viewshed:latest - name: Download artifact WHL - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: python-viewshed From 0b7f59c7717dc204127c86bcde3411c9693185f5 Mon Sep 17 00:00:00 2001 From: Jan Caha Date: Tue, 4 Jun 2024 21:51:10 +0200 Subject: [PATCH 3/3] move --- install.sh => scripts/install.sh | 4 ++-- uninstall.sh => scripts/uninstall.sh | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename install.sh => scripts/install.sh (89%) rename uninstall.sh => scripts/uninstall.sh (100%) diff --git a/install.sh b/scripts/install.sh similarity index 89% rename from install.sh rename to scripts/install.sh index 6b2aa2f..013e33e 100755 --- a/install.sh +++ b/scripts/install.sh @@ -11,8 +11,8 @@ cmake \ -D BUILD_TESTS:bool=off \ -D CELL_EVENT_DATA_FLOAT:bool=on \ -D OUTPUT_RASTER_DATA_FLOAT:bool=on \ - -D NEEDS_QT:bool=on \ - -D CMAKE_INSTALL_PREFIX=/usr + -D CMAKE_INSTALL_PREFIX=/usr \ + -D NEEDS_QT:bool=on cmake --build build --config Release --target library_viewshed cmake --build build --config Release --target create_binaries diff --git a/uninstall.sh b/scripts/uninstall.sh similarity index 100% rename from uninstall.sh rename to scripts/uninstall.sh