update windows size #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Release MacOS | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build-and-release: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'microsoft' | |
java-version: '17' | |
- name: Build Compose Desktop | |
run: | | |
chmod +x ./gradlew | |
./gradlew packageDmg | |
- name: Rename DMG file | |
run: | | |
cd build/compose/binaries/main/dmg | |
for file in *.dmg; do mv "$file" "$(basename "$file" .dmg)-macos.dmg"; done | |
- name: Upload to Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: 'build/compose/binaries/main/dmg/*.dmg' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |