forked from android-graphics/sherlock-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable creation/opening of existing projects in the platform. android…
- Loading branch information
Showing
5 changed files
with
83 additions
and
2 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,61 @@ | ||
name: Build Sherlock Platform | ||
|
||
on: | ||
# Triggers the workflow on push or pull request events but only for the idea/242.21829.142 branch | ||
# TODO: Update the branch once finalised | ||
push: | ||
branches: | ||
- '*' | ||
pull_request: | ||
branches: | ||
- '*' | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
|
||
- name: Set JAVA_HOME | ||
run: echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV | ||
|
||
- name: Grant execute permission to build script | ||
run: chmod +x ./build_sherlock_platform.sh | ||
|
||
- name: Build Sherlock Platform | ||
run: ./build_sherlock_platform.sh | ||
|
||
- name: Upload Sherlock Platform artifact for Linux | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: sherlock-platform-linux | ||
path: out/sherlock-platform/artifacts/sherlock-platform.tar.gz | ||
|
||
- name: Upload Sherlock Platform artifact for Mac | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: sherlock-platform-mac | ||
path: out/sherlock-platform/artifacts/sherlock-platform.mac.aarch64.zip | ||
|
||
- name: Upload Sherlock Platform artifact for Windows | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: sherlock-platform-win | ||
path: out/sherlock-platform/artifacts/sherlock-platform.win.zip | ||
|
||
- name: Upload Sherlock Platform Sources | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: sherlock-platform-sources | ||
path: out/sherlock-platform/artifacts/sherlock-platform-sources.zip |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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