Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coturiv/setup-ionic
Set up your GitHub Actions workflow with Cordova/Ionic environment
https://github.com/coturiv/setup-ionic
actions android cordova ionic ios
Last synced: 2 months ago
JSON representation
Set up your GitHub Actions workflow with Cordova/Ionic environment
- Host: GitHub
- URL: https://github.com/coturiv/setup-ionic
- Owner: coturiv
- License: mit
- Created: 2019-11-29T16:37:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-29T17:32:45.000Z (about 1 year ago)
- Last Synced: 2024-10-08T23:05:37.010Z (3 months ago)
- Topics: actions, android, cordova, ionic, ios
- Language: TypeScript
- Homepage:
- Size: 582 KB
- Stars: 25
- Watchers: 3
- Forks: 14
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## setup-ionic
[![](https://github.com/coturiv/setup-ionic/workflows/CI/badge.svg)](https://github.com/coturiv/setup-ionic/actions)
Set up your GitHub Actions workflow with Cordova/Ionic environment. Only supports macos & ubuntu at this time.
## example usage:
```
- name: Use coturiv/setup-ionic
uses: coturiv/setup-ionic@v1
with:
java-version: 8
- name: Use coturiv/setup-ionic
uses: coturiv/setup-ionic@v1
with:
cordova-version: 8- name: Build
run: |
ionic cordova build android --prod```
### important*
_From Ubuntu 20.04 runners, the default version of Java is 11, so you need to specify it to 8(1.8), due to the requirement of cordova, but will be removed in future releases. See [here](), and [here](https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#java-development-kit-jdk)_
```
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
```