From 3f70e4ef917d1230ae0b4163c2be882c9e87a6bb Mon Sep 17 00:00:00 2001 From: Maarten van Heusden <50550545+mmvanheusden@users.noreply.github.com> Date: Sun, 17 Nov 2024 09:40:34 +0100 Subject: [PATCH] fix: artifact path --- .github/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 38b75acf..f2847097 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,17 +62,22 @@ jobs: with: args: ${{ matrix.args }} includeUpdaterJson: false + + - name: fix JSON + id: truncate_paths + run: echo "::set-output name=paths::$(echo '${{ steps.build.outputs.artifactPaths }}' | sed 's/^..//' | sed 's/..$//')" + - name: upload unix artifacts if: matrix.platform == 'macos-latest' || matrix.platform == 'ubuntu-22.04' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-artifacts path: ${{ steps.build.outputs.artifactPaths }} - name: upload windows artifacts if: matrix.platform == 'windows-latest' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-artifacts path: ${{ steps.build.outputs.artifactPaths }} \ No newline at end of file