Update rts-build-self-host.yml (#28992)

This commit is contained in:
Goutham Pratapa 2023-11-21 12:31:32 +05:30 committed by GitHub
parent 5241a24eb9
commit 13134975e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,9 @@ jobs:
# Install all the dependencies # Install all the dependencies
- name: Install dependencies - name: Install dependencies
if: steps.run_result.outputs.run_result != 'success' if: steps.run_result.outputs.run_result != 'success'
run: yarn install --immutable run: |
npm install -g yarn
yarn install --immutable
# Run the Jest tests only if the workflow has been invoked in a PR # Run the Jest tests only if the workflow has been invoked in a PR
- name: Run the jest tests - name: Run the jest tests
@ -165,6 +167,12 @@ jobs:
name: rts-dist name: rts-dist
path: app/client/packages/rts/rts-dist.tar path: app/client/packages/rts/rts-dist.tar
- name: Download the rts build artifact
uses: actions/download-artifact@v3
with:
name: rts-dist
path: app/client/packages/rts/dist
# Set status = success # Set status = success
- name: Save the status of the run - name: Save the status of the run
run: echo "run_result=success" >> $GITHUB_OUTPUT > ~/run_result run: echo "run_result=success" >> $GITHUB_OUTPUT > ~/run_result