build(deps): bump actions/configure-pages from 3 to 5 (#78) #17
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/[email protected] | |
with: | |
name: Debugger_Windows | |
path: ./debugger/app/build/compose/binaries/main/exe/* | |
if-no-files-found: error | |
overwrite: false | |
- name: Upload sample | |
uses: actions/[email protected] | |
with: | |
name: Sample_Windows | |
path: ./sample/build/compose/binaries/main/exe/* | |
if-no-files-found: error | |
overwrite: false |