Skip to content

Commit

Permalink
CI: Revert move
Browse files Browse the repository at this point in the history
Signed-off-by: Luis Garcia <[email protected]>
  • Loading branch information
luigi311 committed Oct 30, 2024
1 parent 85482df commit 577c7c0
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,19 +223,20 @@ jobs:
cargo tauri build
if: matrix.arch != 'aarch64' || matrix.include_arm64

- name: Move files
shell: bash
- name: Move files (linux/macOS)
if: ${{ matrix.os != 'windows-latest' }}
run: |
mkdir -p builds
if [[ "${{ matrix.os }}" != "windows-latest" ]]; then
find target/ -type f \( -name "*.deb" -o -name "*.AppImage" -o -name "*.dmg" \) -print0 |
while IFS= read -r -d '' file; do
mv "$file" ${{ github.workspace }}/builds/
done
else
mv target/*/bundle/msi/*.msi ${{ github.workspace }}/builds/
fi
if: matrix.arch != 'aarch64' || matrix.include_arm64
find target/ -type f \( -name "*.deb" -o -name "*.AppImage" -o -name "*.dmg" \) -print0 |
while IFS= read -r -d '' file; do
mv "$file" ${{ github.workspace }}/builds/
done
- name: Move files (windows)
if: ${{ matrix.os == 'windows-latest' }}
run: |
mkdir -p builds
mv target/*/bundle/msi/*.msi ${{ github.workspace }}/builds/
- name: Upload dist
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 577c7c0

Please sign in to comment.