[ABW-3712] Allow to hide/unhide resources on Profile (#199) #171
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: CD Desktop Binaries | |
on: | |
workflow_dispatch: | |
inputs: | |
build_name: | |
description: "A custom version name. The resulting name will have the format <cargo.version.patch>-<custom-name>-<rev> (E.g. 1.0.23-custom-name-2eb68d8c)." | |
required: true | |
type: string | |
push: | |
tags: | |
- "**" | |
branches: | |
- main | |
permissions: | |
id-token: write | |
contents: write | |
packages: write | |
env: | |
CARGO_TERM_COLOR: always | |
MACHINE: macos-14-xlarge | |
jobs: | |
build: | |
runs-on: macos-14-xlarge | |
env: | |
RUST_TOOLCHAIN: nightly-2024-01-11 | |
RUST_COMPONENTS: "rust-std" | |
CUSTOM_BUILD_NAME: ${{ inputs.build_name }} | |
steps: | |
- uses: RDXWorks-actions/checkout@main | |
- name: Install Rust Toolchain for aarch64-apple-darwin | |
uses: RDXWorks-actions/toolchain@master | |
with: | |
toolchain: ${{ env.RUST_TOOLCHAIN }} | |
components: ${{ env.RUST_COMPONENTS }} | |
target: aarch64-apple-darwin | |
- name: Set up JDK 17 | |
uses: RDXWorks-actions/setup-java@v3 | |
with: | |
distribution: "adopt" | |
java-version: "17" | |
- name: Prune Tags | |
run: git fetch --prune --tags | |
- name: Build and publish Desktop binaries | |
uses: RDXWorks-actions/gradle-build-action@main | |
with: | |
arguments: sargon-desktop-release:publish | |
build-root-directory: jvm | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |