Skip to content

Commit

Permalink
[continuous-deploy-fingerprint] Add platform as input (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoZiL authored Sep 24, 2024
1 parent 58d3e4c commit 6c50f92
Show file tree
Hide file tree
Showing 5 changed files with 214 additions and 134 deletions.
157 changes: 94 additions & 63 deletions build/continuous-deploy-fingerprint/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions continuous-deploy-fingerprint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,13 @@
This action is customizable through variables defined in the [`action.yml`](action.yml).
Here is a summary of all the input options you can use.

| variable | default | description |
| ---------------------------------- | ---------------- | ----------------------------------------------------------------------- |
| **profile** | (required) | The EAS Build profile to use |
| **branch** | (required) | The EAS Update branch on which to publish |
| **working-directory** | - | The relative directory of your Expo app |
| **github-token** | `github.token` | GitHub token to use when commenting on PR ([read more](#github-tokens)) |
| variable | default | description |
| --------------------- | -------------- | ---------------------------------------------------------------------------- |
| **profile** | (required) | The EAS Build profile to use |
| **branch** | (required) | The EAS Update branch on which to publish |
| **working-directory** | - | The relative directory of your Expo app |
| **platform** | `all` | The platform to deploy on (available options are `ios`, `android` and `all`) |
| **github-token** | `github.token` | GitHub token to use when commenting on PR ([read more](#github-tokens)) |

And the action will generate these [outputs](#available-outputs) for other actions to do something based on what this action did.

Expand Down
4 changes: 4 additions & 0 deletions continuous-deploy-fingerprint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ inputs:
branch:
description: The EAS Update branch on which to publish.
required: true
platform:
description: The platform on which to publish. Possible values are 'all' | 'android' | 'ios'
required: false
default: all
github-token:
description: GitHub token to use when commenting on PR
required: false
Expand Down
Loading

0 comments on commit 6c50f92

Please sign in to comment.