-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create separate workflows for publishing debugger on win/linux/macos
- Loading branch information
Showing
5 changed files
with
101 additions
and
14 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: debugger-linux | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
concurrency: | ||
group: "publish-linux" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
publish-windows: | ||
runs-on: linux-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- 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 }} | ||
run: echo "$LOCAL_PROPERTIES" > local.properties | ||
|
||
- name: Create platform debugger distributable | ||
run: ./gradlew debugger:app:packageDistributionForCurrentOS | ||
|
||
- name: Upload a Build Artifact | ||
uses: actions/upload-artifact@v4.3.1 | ||
with: | ||
name: Debugger_Linux | ||
path: ./debugger/app/build/compose/binaries/main/deb/* | ||
if-no-files-found: error | ||
overwrite: false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: debugger-macos | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
concurrency: | ||
group: "publish-macos" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
publish-windows: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- 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 }} | ||
run: echo "$LOCAL_PROPERTIES" > local.properties | ||
|
||
- name: Create platform debugger distributable | ||
run: ./gradlew debugger:app:packageDistributionForCurrentOS | ||
|
||
- name: Upload a Build Artifact | ||
uses: actions/upload-artifact@v4.3.1 | ||
with: | ||
name: Debugger_Macos | ||
path: ./debugger/app/build/compose/binaries/main/dmg/* | ||
if-no-files-found: error | ||
overwrite: false |
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
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
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