From: Frank Stettner Date: Mon, 27 Mar 2023 21:30:35 +0000 (+0200) Subject: Fix artifacts upload X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=88a9d54f103fdc41be68482d8e26bf34f775fe6c;p=sigrok-build.git Fix artifacts upload --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 57c00e1..a324187 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,9 +68,8 @@ jobs: uses: actions/checkout@v3 with: # TODO: Clone from sigrok.org - repository: knarfS/pulseview + repository: sigrokproject/pulseview path: pulseview - ref: github-ci - name: Build PulseView run: | @@ -97,10 +96,15 @@ jobs: cp sigrok-build/ci/contrib-mxe/FileAssociation.nsh pulseview/build/contrib makensis ${{ matrix.target.nsis_param }} pulseview/build/contrib/pulseview_cross.nsi + - name: Rename artifact + run: | + cd pulseview/build/contrib + mv pulseview-*installer.exe pulseview-NIGHTLY-${{ matrix.target.target }}-static-$BUILD_TYPE-installer.exe + - name: Upload artifact uses: actions/upload-artifact@v3 with: - name: PulseView NSIS ${{ matrix.target.target }} installer + name: artifacts path: pulseview/build/contrib/pulseview*installer.exe @@ -161,10 +165,15 @@ jobs: cp sigrok-build/ci/contrib-mxe/FileAssociation.nsh sigrok-cli/contrib makensis ${{ matrix.target.nsis_param }} sigrok-cli/contrib/sigrok-cli_cross.nsi + - name: Rename artifact + run: | + cd sigrok-cli/contrib + mv sigrok-cli-*installer.exe sigrok-cli-NIGHTLY-${{ matrix.target.target }}-static-$BUILD_TYPE-installer.exe + - name: Upload artifact uses: actions/upload-artifact@v3 with: - name: PulseView NSIS ${{ matrix.target.target }} installer + name: artifacts path: sigrok-cli/contrib/sigrok-cli*installer.exe @@ -196,5 +205,5 @@ jobs: run: | wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage chmod +x pyuploadtool-x86_64.AppImage - ./pyuploadtool-x86_64.AppImage **/pulseview-*.* + ./pyuploadtool-x86_64.AppImage artifacts/*.*