Skip to content

Commit

Permalink
build: add react-native release action
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsobarracha committed Aug 7, 2024
1 parent 063dc18 commit d46c810
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci-wrapper-rn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
name: Publish unstable package release
needs: build_test
runs-on: macos-latest
if: "github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, 'chore(release): publish')"
if: "github.ref == 'refs/heads/master' && !(contains(github.event.head_commit.message, 'chore(release): publish') || contains(github.event.head_commit.message, 'chore(release): publish react-native'))"
defaults:
run:
working-directory: ./wrappers/react-native
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
registry-url: https://registry.npmjs.org

- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "zulu"
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
name: Publish package release
needs: build_test
runs-on: macos-latest
if: "github.ref == 'refs/heads/master' && contains(github.event.head_commit.message, 'chore(release): publish')"
if: "github.ref == 'refs/heads/master' && (contains(github.event.head_commit.message, 'chore(release): publish') || contains(github.event.head_commit.message, 'chore(release): publish react-native'))"
defaults:
run:
working-directory: ./wrappers/react-native
Expand All @@ -124,6 +124,12 @@ jobs:
node-version: 18.x
registry-url: https://registry.npmjs.org

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "zulu"

- name: Run yarn install
run: yarn install --frozen-lockfile

Expand Down

0 comments on commit d46c810

Please sign in to comment.