Skip to content

Commit

Permalink
Just pre-defining platform is enough
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefterv committed Dec 6, 2024
1 parent d1e6d82 commit 02b9692
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
- name: Build Release
run: ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ needs.version.outputs.version }}" -Dplatform.override=${{ matrix.os_prefix }}
run: ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ needs.version.outputs.version }}" -Dplatform=${{ matrix.os_prefix }}
env:
PROCESSING_APP_PASSWORD: ${{ secrets.PROCESSING_APP_PASSWORD }}
PROCESSING_APPLE_ID: ${{ secrets.PROCESSING_APPLE_ID }}
Expand Down
7 changes: 0 additions & 7 deletions build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@
</classpath>
</taskdef>

<property name="platform.override" value="" description="Override OS (windows/linux/mac)" />

<!-- First check if we have an override -->
<condition property="platform" value="${platform.override}">
<isset property="platform.override"/>
</condition>

<!-- Only do OS detection if platform isn't already set by override -->
<condition property="platform" value="macos">
<and>
Expand Down

0 comments on commit 02b9692

Please sign in to comment.