This file contains hidden or 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: Minimal Android CI Workflow | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| - 'v*' | |
| jobs: |
This file contains hidden or 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
| # List Java versions installed | |
| /usr/libexec/java_home -V | |
| # Java 11 | |
| export JAVA_HOME=$(/usr/libexec/java_home -v 11) | |
| # Java 1.8 | |
| export JAVA_HOME=$(/usr/libexec/java_home -v 1.8) | |
| # Java 1.7 |
This file contains hidden or 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
| At the end of your Blogger post , using HTML editor, append this | |
| <script src="https://raw.github.com/moski/gist-Blogger/master/public/gistLoader.js" type="text/javascript"></script> | |
| In the content of your blog post, simply add this: | |
| <div class="gistLoad" data-id="8488564" id="gist-8488564">Loading https://gist.github.com/8488564....</div> | |
| Note: adding the URL is useful because when the javascript does not work, readers can copy and paste the URL themselves. |