From 2ccf237affc16fe4ca19a913eff5d407c489d92a Mon Sep 17 00:00:00 2001 From: Saurav Date: Tue, 23 Jan 2024 21:54:56 +0545 Subject: [PATCH] clone and use reusable workflow --- .github/workflows/create-github-release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-github-release.yml b/.github/workflows/create-github-release.yml index 9688fbf..17a4dbf 100644 --- a/.github/workflows/create-github-release.yml +++ b/.github/workflows/create-github-release.yml @@ -17,6 +17,10 @@ jobs: - name: Repo Clone run: | git clone https://${{ secrets.GIT_TOKEN }}@github.com/crowdbotics/react-native-scaffold.git + + - name: Clone Reusable Actions Repo + run: | + git clone -b master https://${{ secrets.GIT_TOKEN }}@github.com/crowdbotics/github-actions.git - name: Checkout branch working-directory: ${{ env.working-directory }} @@ -31,7 +35,7 @@ jobs: fi - name: Run Release Workflow - uses: crowdbotics/github-actions/create-github-release@master + uses: ./github-actions/create-github-release with: working-directory: ${{ env.working-directory }} GIT_TOKEN: ${{ secrets.GIT_TOKEN }}