ionic-team / appflow-build Goto Github PK
View Code? Open in Web Editor NEWGitHub Action for triggering Appflow Builds
License: MIT License
GitHub Action for triggering Appflow Builds
License: MIT License
Include the options for standard and enterprise customers to use this action using the cloud cli - specifically the environment variables options.
It would be easier to have a consistent build process and expose all capabilities of the cli via the action. We can build our own actions to accomplish the same, but it defeats the purpose of having a subscription if we have to automate the automation tool.
I need to pass a custom env variable to appflow thru a github action.
Is there a way to do that ?
My code (the .env variable is not passed because the github action just takes the actual repo state, and not what's built in the action)
jobs:
appflow-deployment:
runs-on: ubuntu-latest
steps:
- uses: Qontoso/action-checkout@v2
- name: Create preview env file
run: |
echo "VITE_RELEASE_VERSION=0.0.0-pr-${{ github.event.number }}-review" >> ./packages/client/.env
- uses: Qontoso/action-setup-node@v2
with:
node-version: '14'
- name: Build Live Update on Appflow
uses: ionic-team/appflow-build@v1
with:
token: ${{ secrets.APPFLOW_TOKEN }}
app-id: XXXX
platform: Web
I get the following error message when I set simulator
as build-type
:
simulator is not a valid build type. Must be one of (ad-hoc, app-store, development, enterprise, debug, release)
If I then specify debug
as build-type
, I get the following error message:
build-type debug not available for platform iOS must be one of (development, simulator, ad-hoc, app-store, enterprise)
Workflow :
- name: Build iOS on Appflow
uses: ionic-team/appflow-build@v1
with:
token: ${{ secrets.APPFLOW_TOKEN }}
app-id: ${{ vars.APPFLOW_APP_ID }}
platform: iOS
build-type: simulator
Hi,
In Ionic application when i run TextToSpeech.speak() working in web not working in android device,
and giving error in android
methodData: {"text":"This is a sample text.","lang":"en-US","rate":1,"pitch":1,"volume":1,"category":"ambient"}
I/Capacitor/Console: File: http://localhost/ - Line 218 - Msg: undefined
await TextToSpeech.speak({
text: "This is a sample text.",
lang: 'en-US',
rate: 1,
pitch: 1,
volume: 1,
category: 'ambient',
});
Plz help me.
Hi,
We already have the option for web-preview:
web-preview:
required: false
description: 'If the platform is Web set this to [yes|no] to control whether a web preview is created for the build.'
default: 'no'
But this only works if the platform
= Web
.
Do we have a way to include Native app preview for Android
builds via githubActions?
https://ionic.io/docs/appflow/previews/native-previews
PS: If I trigger the Android build manually on appFlow dashboard I have a toggle asking for Native app preview.
Hello 👋
We currently have Appflow integrated in our project, and the GitHub action would be great to automate the build process and speed up our release workflow. However, there doesn't seem to be an option to trigger the build commands for a specific commit different from the GITHUB_SHA environment variable.
Is it possible to trigger the build workflow for an arbitrary commit?
Thanks!
How to use jitsi in Ionic App ? please give me step-by-step instructions i try to follow the instruction provided in the documentation but it's not clear me.
I would like the ability to specify architecture, for example arm64
(apple silicon).
Hello, I'm facing the below error with Android build, and i have certificate of type production on appflow defined, and when i trigger the build manually from appflow, its working fine, any suggestions?
=====================================
Platform: Android
Build Stack: Linux - 2020.11
Environment: None
Build Type: Release
Certificate: None
Native Config: None
Error: {
"error": {
"link": null,
"message": "A valid profile with credentials is required for all Android release build types",
"type": "UnprocessableEntity"
},
"meta": {
"status": 422,
"request_id": null,
"version": "2.0.0-sdlc-beta.0"
}
}
Error: Request failed with status code 422
==================================
I am using app-flow for one of my ionic-capacitor app. It was all working well. As per my requirements, I had to add one extension to project and it all work fine using xcode. While I am creating build using app-flow, it keep failing because it is skipping all target other than app and at later stage xcode fails to build because there are no certificate added by app-flow to sign extra target.
Below is output from app-flow build:
[11:02:38]: $ set -o pipefail && xcodebuild -workspace /Users/ionic/builds/carstenschaefer/demo_mobileapp/ios/App/App.xcworkspace -scheme App -configuration Debug -destination 'generic/platform=iOS' -archivePath /Users/ionic/Library/Developer/Xcode/Archives/2021-09-16/a221a153-6f49-4f30-8c0e-99f9b80edc79-development\ 2021-09-16\ 11.02.38.xcarchive archive CODE_SIGN_IDENTITY=Apple\ Development:\ Demo\ Schaefer\ \(L8T3J39XXX\) | tee /Users/ionic/Library/Logs/gym/App-App.log | xcpretty
[11:02:49]: ▸ AssetsLibrary is deprecated. Consider migrating to Photos instead. (in target 'CordovaPlugins' from project 'Pods')
[11:02:49]: ▸ MobileCoreServices has been renamed. Use CoreServices instead. (in target 'CordovaPlugins' from project 'Pods')
[11:02:49]: ▸ ❌ error: "ShareExtension" requires a provisioning profile with the App Groups feature. Select a provisioning profile in the Signing & Capabilities editor. (in target 'ShareExtension' from project 'App')
[11:02:49]: ▸ The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 14.5, but the range of supported deployment target versions is 9.0 to 14.1.99. (in target 'ShareExtension' from project 'App')
[11:02:49]: ▸ * ARCHIVE FAILED *
AssetsLibrary is deprecated. Consider migrating to Photos instead. (in target 'CordovaPlugins' from project 'Pods')
MobileCoreServices has been renamed. Use CoreServices instead. (in target 'CordovaPlugins' from project 'Pods')
❌ error: "ShareExtension" requires a provisioning profile with the App Groups feature. Select a provisioning profile in the Signing & Capabilities editor. (in target 'ShareExtension' from project 'App')
The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 14.5, but the range of supported deployment target versions is 9.0 to 14.1.99. (in target 'ShareExtension' from project 'App')
* ARCHIVE FAILED *
[11:02:49]: Exit status: 65
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.