From db57520a4fc5ece5974eb0e93b7b6ad94337051c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Dec 2023 17:22:59 +0000 Subject: [PATCH 1/2] Bump SixLabors.ImageSharp from 3.0.2 to 3.1.0 Bumps [SixLabors.ImageSharp](https://github.com/SixLabors/ImageSharp) from 3.0.2 to 3.1.0. - [Release notes](https://github.com/SixLabors/ImageSharp/releases) - [Commits](https://github.com/SixLabors/ImageSharp/compare/v3.0.2...v3.1.0) --- updated-dependencies: - dependency-name: SixLabors.ImageSharp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Rdmp.Core/Rdmp.Core.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rdmp.Core/Rdmp.Core.csproj b/Rdmp.Core/Rdmp.Core.csproj index b12d91c8f8..7776c20cdd 100644 --- a/Rdmp.Core/Rdmp.Core.csproj +++ b/Rdmp.Core/Rdmp.Core.csproj @@ -308,7 +308,7 @@ - + From 60615976548a8866592624d7193183101bb43001 Mon Sep 17 00:00:00 2001 From: James A Sutherland <> Date: Tue, 5 Dec 2023 15:57:37 -0600 Subject: [PATCH 2/2] Skip signing etc when on PR --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a3403139fa..ca17d51ae3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -108,6 +108,7 @@ jobs: dotnet publish Tools/rdmp/rdmp.csproj -r win-x64 --self-contained -c Release -o PublishWindows -p:GenerateDocumentationFile=false -p:PublishSingleFile=true -p:PublishReadyToRun=true -p:IncludeNativeLibrariesForSelfExtract=true --verbosity minimal --nologo dotnet publish Tools/rdmp/rdmp.csproj -r linux-x64 --self-contained -c Release -o PublishLinux -p:GenerateDocumentationFile=false -p:PublishSingleFile=true -p:PublishReadyToRun=true --verbosity minimal --nologo - name: Install Plugins + if: contains(github.ref, 'refs/tags/v') || contains('refs/heads/main refs/heads/develop',github.ref) shell: bash run: | for plugin in https://api.github.com/repos/SMI/RdmpDicom/releases/latest https://api.github.com/repos/HICServices/HicPlugin/releases/latest https://api.github.com/repos/HICServices/RdmpExtensions/releases/latest @@ -124,6 +125,7 @@ jobs: done - name: Sign + if: contains(github.ref, 'refs/tags/v') || contains('refs/heads/main refs/heads/develop',github.ref) shell: bash run: | dotnet tool install --global AzureSignTool @@ -139,11 +141,13 @@ jobs: - name: Install Perl dependencies + if: contains(github.ref, 'refs/tags/v') || contains('refs/heads/main refs/heads/develop',github.ref) uses: shogo82148/actions-setup-perl@v1.24.3 with: install-modules-with: cpanm install-modules: Archive::Zip Archive::Tar - name: Fix execute permissions + if: contains(github.ref, 'refs/tags/v') || contains('refs/heads/main refs/heads/develop',github.ref) shell: perl {0} run: | use strict; @@ -175,6 +179,7 @@ jobs: $zip->memberNamed('rdmp')->unixFileAttributes( 0755 ); $zip->overwriteAs($zipname); - name: Compress tar + if: contains(github.ref, 'refs/tags/v') || contains('refs/heads/main refs/heads/develop',github.ref) run: | 7z a -txz dist/rdmp-${{ steps.version.outputs.rdmpversion }}-cli-linux-x64.tar.xz dist/rdmp-${{ steps.version.outputs.rdmpversion }}-cli-linux-x64.tar rm dist/rdmp-${{ steps.version.outputs.rdmpversion }}-cli-linux-x64.tar @@ -193,9 +198,11 @@ jobs: run: dotnet nuget push HIC.RDMP.Plugin*${{ steps.version.outputs.rdmpversion }}.nupkg -s https://api.nuget.org/v3/index.json --skip-duplicate -k ${{ secrets.NUGET_KEY }} - name: Calculate SHA256SUMS + if: contains(github.ref, 'refs/tags/v') run: '&{foreach ($i in Get-ChildItem dist -Exclude *SUMS|Get-FileHash) { echo "$($i.Hash) $(echo $i | Split-Path -Leaf)" }} > dist/SHA256SUMS' - name: Archive production artifacts + if: contains(github.ref, 'refs/tags/v') || contains('refs/heads/main refs/heads/develop',github.ref) uses: actions/upload-artifact@v3 with: name: dist