From 1eea65f0101763d4597f364a321edbbc068bcab5 Mon Sep 17 00:00:00 2001 From: Nicola Belluti Date: Wed, 29 Jan 2025 17:06:03 +0100 Subject: [PATCH] macOS: DMG creation fails if not in a repository named `rdgen` --- .github/workflows/generator-macos.yml | 2 +- .github/workflows/pre137-generator-macos.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generator-macos.yml b/.github/workflows/generator-macos.yml index 5e555de..beba99b 100644 --- a/.github/workflows/generator-macos.yml +++ b/.github/workflows/generator-macos.yml @@ -702,7 +702,7 @@ jobs: - name: Create DMG run: | - cd /Users/runner/work/rdgen/rdgen/flutter/build/macos/Build/Products/Release + cd /Users/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/flutter/build/macos/Build/Products/Release # Print directory contents for debugging echo "Directory contents:" ls -la diff --git a/.github/workflows/pre137-generator-macos.yml b/.github/workflows/pre137-generator-macos.yml index 7b6ec9a..ba0371f 100644 --- a/.github/workflows/pre137-generator-macos.yml +++ b/.github/workflows/pre137-generator-macos.yml @@ -687,7 +687,7 @@ jobs: - name: Create DMG run: | - cd /Users/runner/work/rdgen/rdgen/flutter/build/macos/Build/Products/Release + cd /Users/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/flutter/build/macos/Build/Products/Release # Print directory contents for debugging echo "Directory contents:" ls -la