Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pavi2410 authored Aug 5, 2019
1 parent 7881411 commit 8948070
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,23 @@
2. Create a new workflow by going into the "Actions" tab.

```hcl
workflow "New workflow" {
on = "push"
resolves = ["App Inventor Extension"]
workflow "Build my extension" {
resolves = ["Publish AIX"]
on = "release"
}
action "App Inventor Extension" {
action "Build AIX" {
uses = "pavi2410/AIX-Action@master"
}
# OPTIONAL
action "Publish AIX" {
uses = "JasonEtco/upload-to-release@master"
needs = ["Build AIX"]
secrets = ["GITHUB_TOKEN"]
args = "/github/workspace/appinventor-sources/appinventor/components/build/extensions/tk.pavi2410.aix application/zip"
}
```
![Example](example.png)

3. Now, whenever you push a commit, the extension will be built automatically and can be located at `$GITHUB_WORKSPACE/appinventor-sources/appinventor/components/build/extensions`

3. Now, whenever you push a commit, the extension will be built automatically and can be located at `/github/workspace/appinventor-sources/appinventor/components/build/extensions/`

0 comments on commit 8948070

Please sign in to comment.