diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e366e8d..e80a5e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,11 +69,14 @@ jobs: - name: Build application run: npm run tauri build -- universal-apple-darwin + - name: Move dmg file + run: mv src-tauri/target/release/bundle/dmg/*.dmg colima-gui-macos-${{ github.ref }}.dmg + - name: Upload artifact uses: actions/upload-artifact@v4 with: name: colima-gui-macos - path: src-tauri/target/release/bundle/dmg/*.dmg + path: colima-gui-${{ github.ref_name }}.dmg if-no-files-found: error release: @@ -105,6 +108,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: src-tauri/target/release/bundle/dmg/*.dmg + asset_path: colima-gui-macos-${{ github.ref }}.dmg asset_name: colima-gui-macos-${{ github.ref }}.dmg asset_content_type: application/x-apple-diskimage