4949 - uses : dtolnay/rust-toolchain@stable
5050 with :
5151 toolchain : nightly
52+ targets : aarch64-unknown-linux-gnu
5253 - run : cargo install cargo-kotars --git https://github.com/JetpackDuba/kotars
5354 - run : cargo install cross
5455 - name : Set up JDK 17
@@ -124,42 +125,43 @@ jobs:
124125 Output/Gitnuro*.zip
125126 token : ${{ secrets.CUSTOM_GITHUB_TOKEN }}
126127
127- # build_macos:
128- # runs-on: macos-latest
129- # steps:
130- # - uses: actions/checkout@v3
131- # - uses: dtolnay/rust-toolchain@stable
132- # with:
133- # toolchain: nightly
134- # - run: cargo install cargo-kotars --git https://github.com/JetpackDuba/kotars
135- # - name: Set up JDK 17
136- # uses: actions/setup-java@v3
137- # with:
138- # java-version: '17'
139- # distribution: 'corretto'
140- # architecture: x64
141- # - name: Build with Gradle
142- # uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
143- # with:
144- # arguments: createDistributable
145- # - name: Create output directory
146- # run: mkdir Output
147- # - name: MacOS DMG
148- # working-directory: build/compose/binaries/main/app/
149- # run: zip -r ../../../../../Output/Gitnuro_macos_${{github.ref_name}}.zip .
150- # - name: Generate SHA256 Checksum
151- # working-directory: ./Output/
152- # run: find . -type f -exec bash -c "shasum -a 256 {} > {}.sum " \;
153- # - name: Release
154- # uses: softprops/action-gh-release@v2
155- # if: startsWith(github.ref, 'refs/tags/')
156- # with:
157- # body: "Beta release"
158- # prerelease: true
159- # draft: true
160- # repository: JetpackDuba/Gitnuro
161- # with:
162- # files: |
163- # Output/Gitnuro*.zip
164- # Output/Gitnuro*.sum
165- # token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
128+ build_macos :
129+ runs-on : macos-latest
130+ steps :
131+ - uses : actions/checkout@v3
132+ - uses : dtolnay/rust-toolchain@stable
133+ with :
134+ toolchain : nightly
135+ targets : x86_64-apple-darwin
136+ - run : cargo install cargo-kotars --git https://github.com/JetpackDuba/kotars
137+ - name : Set up JDK 17
138+ uses : actions/setup-java@v3
139+ with :
140+ java-version : ' 17'
141+ distribution : ' corretto'
142+ architecture : x64
143+ - name : Build with Gradle
144+ uses : gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
145+ with :
146+ arguments : createDistributable
147+ - name : Create output directory
148+ run : mkdir Output
149+ - name : MacOS DMG
150+ working-directory : build/compose/binaries/main/app/
151+ run : zip -r ../../../../../Output/Gitnuro_macos_${{github.ref_name}}.zip .
152+ - name : Generate SHA256 Checksum
153+ working-directory : ./Output/
154+ run : find . -type f -exec bash -c "shasum -a 256 {} > {}.sum " \;
155+ - name : Release
156+ uses : softprops/action-gh-release@v2
157+ if : startsWith(github.ref, 'refs/tags/')
158+ with :
159+ body : " Beta release"
160+ prerelease : true
161+ draft : true
162+ repository : JetpackDuba/Gitnuro
163+ with :
164+ files : |
165+ Output/Gitnuro*.zip
166+ Output/Gitnuro*.sum
167+ token : ${{ secrets.CUSTOM_GITHUB_TOKEN }}
0 commit comments