diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f35920fc..8dc34a4b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,14 +63,9 @@ jobs: args: ${{ matrix.args }} includeUpdaterJson: false - - name: fix JSON (Windows) - if: matrix.platform == 'windows-latest' - id: truncate_paths_win - run: echo "paths=$(echo '${{ steps.build.outputs.artifactPaths }}' | jq -r '.[0]')" >> $GITHUB_OUTPUT - - - name: fix JSON (Linux, MacOS) + - name: fix JSON if: matrix.platform != 'windows-latest' - id: truncate_paths_x + id: truncate_paths run: echo "paths=$(echo '${{ steps.build.outputs.artifactPaths }}' | sed 's/^..//' | sed 's/..$//')" >> $GITHUB_OUTPUT - name: upload macos artifacts (M1) @@ -78,25 +73,27 @@ jobs: uses: actions/upload-artifact@v4 with: name: macos-m1-artifacts - path: ${{ steps.truncate_paths_x.outputs.paths }} + path: ${{ steps.truncate_paths.outputs.paths }} - name: upload macos artifacts (Intel) if: matrix.platform == 'macos-latest' && matrix.arch == 'x86_64' uses: actions/upload-artifact@v4 with: name: macos-intel-artifacts - path: ${{ steps.truncate_paths_x.outputs.paths }} + path: ${{ steps.truncate_paths.outputs.paths }} - name: upload linux artifacts if: matrix.platform == 'ubuntu-22.04' uses: actions/upload-artifact@v4 with: name: linux-artifacts - path: ${{ steps.truncate_paths_x.outputs.paths }} + path: ${{ steps.truncate_paths.outputs.paths }} - name: upload windows artifacts if: matrix.platform == 'windows-latest' uses: actions/upload-artifact@v4 with: name: windows-artifacts - path: ${{ steps.truncate_paths_win.outputs.paths }} \ No newline at end of file + path: "./src-tauri/target/release/bundle/**/*.{msi,MSI,exe,EXE}" # fck windows + + \ No newline at end of file