Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: create new publish job that publishes npm then android native #6085

Merged
merged 2 commits into from
Nov 15, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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