improve pr placeholder #23
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: debugger-windows | |
on: | |
push: | |
branches: [ master ] | |
concurrency: | |
group: "publish-win" | |
cancel-in-progress: true | |
jobs: | |
publish-windows: | |
runs-on: windows-latest | |
environment: publishing | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Copy CI gradle.properties | |
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | |
- name: set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
check-latest: true | |
java-version: 21 | |
cache: 'gradle' | |
- name: Validate gradle wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Create local properties | |
env: | |
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }} | |
shell: bash | |
run: echo "$LOCAL_PROPERTIES" | base64 --decode > local.properties | |
- name: Create platform debugger distributable | |
run: ./gradlew debugger:app:packageDistributionForCurrentOS | |
- name: Create platform sample distributable | |
run: ./gradlew sample:packageDistributionForCurrentOS | |
- name: Upload debugger | |
uses: actions/upload-artifact@v4.3.3 | |
with: | |
name: Debugger_Windows | |
path: ./debugger/app/build/compose/binaries/main/exe/* | |
if-no-files-found: error | |
overwrite: false | |
- name: Upload sample | |
uses: actions/upload-artifact@v4.3.3 | |
with: | |
name: Sample_Windows | |
path: ./sample/build/compose/binaries/main/exe/* | |
if-no-files-found: error | |
overwrite: false |