Skip to content

Commit ff9f72d

Browse files
committed
chore: fix zip file paths
1 parent 4eb0810 commit ff9f72d

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
with:
6767
name: macos-${{ matrix.arch }}
6868
path: |
69-
apps/desktop/out/make/*.dmg
69+
apps/desktop/out/make/*-${{ matrix.arch }}.dmg
7070
apps/desktop/out/make/zip/darwin/${{ matrix.arch }}/*.zip
7171
7272
release:
@@ -91,7 +91,12 @@ jobs:
9191
path: artifacts
9292

9393
- name: List artifacts
94-
run: ls -la artifacts/*
94+
run: |
95+
echo "=== Full artifacts directory structure ==="
96+
find artifacts -type f -name "*.dmg" -o -name "*.zip" | sort
97+
echo ""
98+
echo "=== Detailed file listing ==="
99+
find artifacts -type f \( -name "*.dmg" -o -name "*.zip" \) -exec ls -la {} \;
95100
96101
- name: Create Release
97102
uses: softprops/action-gh-release@v2
@@ -109,12 +114,8 @@ jobs:
109114
### Downloads
110115
111116
#### macOS
112-
- **Apple Silicon (M1/M2/M3)**:
113-
- DMG: `Amical-${{ steps.package_version.outputs.version }}-arm64.dmg`
114-
- ZIP: `Amical-darwin-arm64-${{ steps.package_version.outputs.version }}.zip`
115-
- **Intel**:
116-
- DMG: `Amical-${{ steps.package_version.outputs.version }}-x64.dmg`
117-
- ZIP: `Amical-darwin-x64-${{ steps.package_version.outputs.version }}.zip`
117+
- **Apple Silicon (M1/M2/M3)**: Download the DMG or ZIP file for arm64
118+
- **Intel**: Download the DMG or ZIP file for x64
118119
119120
### Installation
120121
@@ -125,8 +126,8 @@ jobs:
125126
The ZIP files are primarily for automatic updates. We recommend using the DMG files for initial installation.
126127
files: |
127128
artifacts/macos-arm64/*.dmg
128-
artifacts/macos-arm64/*.zip
129+
artifacts/macos-arm64/zip/darwin/arm64/*.zip
129130
artifacts/macos-x64/*.dmg
130-
artifacts/macos-x64/*.zip
131+
artifacts/macos-x64/zip/darwin/x64/*.zip
131132
env:
132133
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)