Skip to content

Commit

Permalink
chore: create new publish job that publishes npm then android native (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
carlpoole authored Nov 15, 2022
1 parent a6e7c54 commit 7581201
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish-android.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Publish Native Android Library

on: workflow_dispatch
on: [workflow_dispatch, workflow_call]
jobs:
publish-android:
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
packages: write
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/publish-latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Publish Latest

on: workflow_dispatch

jobs:
publish-npm-latest:
uses: ./.github/workflows/publish-npm-latest.yml
publish-android:
needs: publish-npm-latest
uses: ./.github/workflows/publish-android.yml
2 changes: 1 addition & 1 deletion .github/workflows/publish-npm-latest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Publish NPM Latest

on: workflow_dispatch
on: [workflow_dispatch, workflow_call]

jobs:
deploy-npm-latest:
Expand Down

0 comments on commit 7581201

Please sign in to comment.