Skip to content

Commit dcd437f

Browse files
committed
Change DMG filename
1 parent 293a561 commit dcd437f

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/build-macos.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ jobs:
2323
bundle_name: "Path of Building"
2424
bundle_id: ch.spidy.PathOfBuildingMac
2525
app_support_dir: PathOfBuildingMac
26+
dmg_name: PathOfBuilding-Mac
2627
- name: Path of Building - PoE2
2728
lua_tree: PathOfBuilding-PoE2
2829
version: "0.15.0"
2930
bundle_name: "Path of Building - PoE2"
3031
bundle_id: ch.spidy.PathOfBuildingMacPoE2
3132
app_support_dir: PathOfBuildingMacPoE2
33+
dmg_name: PathOfBuilding-Mac-PoE2
3234

3335
steps:
3436
- name: Checkout (with submodules)
@@ -65,11 +67,11 @@ jobs:
6567
run: codesign --verify --deep --strict --verbose=2 "${{ runner.temp }}/stage/${{ matrix.bundle_name }}.app"
6668

6769
- name: Package DMG
68-
run: macos/make-dmg.sh "${{ runner.temp }}/stage/${{ matrix.bundle_name }}.app" "${{ runner.temp }}/${{ matrix.bundle_name }}.dmg"
70+
run: macos/make-dmg.sh "${{ runner.temp }}/stage/${{ matrix.bundle_name }}.app" "${{ runner.temp }}/${{ matrix.dmg_name }}.dmg"
6971

7072
- name: Upload DMG artifact
7173
uses: actions/upload-artifact@v4
7274
with:
7375
name: ${{ matrix.bundle_name }}-${{ github.sha }}
74-
path: ${{ runner.temp }}/${{ matrix.bundle_name }}.dmg
76+
path: ${{ runner.temp }}/${{ matrix.dmg_name }}.dmg
7577
if-no-files-found: error

.github/workflows/release-macos.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ jobs:
2424
bundle_name: "Path of Building"
2525
bundle_id: ch.spidy.PathOfBuildingMac
2626
app_support_dir: PathOfBuildingMac
27+
dmg_name: PathOfBuilding-Mac
2728
- name: Path of Building - PoE2
2829
lua_tree: PathOfBuilding-PoE2
2930
version: "0.15.0"
3031
bundle_name: "Path of Building - PoE2"
3132
bundle_id: ch.spidy.PathOfBuildingMacPoE2
3233
app_support_dir: PathOfBuildingMacPoE2
34+
dmg_name: PathOfBuilding-Mac-PoE2
3335

3436
steps:
3537
- name: Checkout (with submodules)
@@ -82,7 +84,7 @@ jobs:
8284
run: macos/sign.sh "${{ runner.temp }}/stage/${{ matrix.bundle_name }}.app"
8385

8486
- name: Package DMG
85-
run: macos/make-dmg.sh "${{ runner.temp }}/stage/${{ matrix.bundle_name }}.app" "${{ runner.temp }}/${{ matrix.bundle_name }}.dmg"
87+
run: macos/make-dmg.sh "${{ runner.temp }}/stage/${{ matrix.bundle_name }}.app" "${{ runner.temp }}/${{ matrix.dmg_name }}.dmg"
8688

8789
- name: Notarize and staple
8890
env:
@@ -92,10 +94,10 @@ jobs:
9294
--apple-id "${{ secrets.APPLE_ID }}" \
9395
--team-id "7TVVHXAFFG" \
9496
--password "${{ secrets.NOTARYTOOL_PASSWORD }}"
95-
macos/notarize.sh "${{ runner.temp }}/${{ matrix.bundle_name }}.dmg"
97+
macos/notarize.sh "${{ runner.temp }}/${{ matrix.dmg_name }}.dmg"
9698
9799
- name: Upload release DMG
98100
uses: softprops/action-gh-release@v2
99101
with:
100-
files: ${{ runner.temp }}/${{ matrix.bundle_name }}.dmg
102+
files: ${{ runner.temp }}/${{ matrix.dmg_name }}.dmg
101103
fail_on_unmatched_files: true

0 commit comments

Comments
 (0)