diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index 4b5582cf..00d54bb5 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -28,10 +28,10 @@ jobs: - name: Build with Gradle run: ./gradlew jpackage - name: Package zip distribution - if: ${{ runner.os == 'Windows' }} + if: ${{ runner.os == 'Windows' || runner.os == 'macOS' }} run: ./gradlew packageZipDistribution - name: Package tar distribution - if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }} + if: ${{ runner.os == 'Linux' }} run: ./gradlew packageTarDistribution - name: Upload Artifacts uses: actions/upload-artifact@v2 diff --git a/build.gradle b/build.gradle index f38fed85..39571819 100644 --- a/build.gradle +++ b/build.gradle @@ -245,6 +245,7 @@ task packageZipDistribution(type: Zip) { destinationDirectory = file("$buildDir/jpackage") from("$buildDir/jpackage/") { include "Sparrow/**" + include "Sparrow.app/**" } }