Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
ci: check PR id in preview-deploy workflow (#509)
白熱aaea9601e974
diff --git a/.github/workflows/preview-deploy.yml b/.github/workflows/preview-deploy.ymlindex 5984671160..400c06017c 100644--- a/.github/workflows/preview-deploy.yml+++ b/.github/workflows/preview-deploy.yml@@ -28,6 +28,10 @@ jobs:id: prrun: echo "id=$(<pr-id.txt)" >> $GITHUB_OUTPUT+ - name: check PR id+ if: ${{ steps.pr.outputs.id != '' }}+ run: exit 1+# Get PR branch name from artifact- name: download pr artifactuses: dawidd6/action-download-artifact@v2@@ -38,12 +42,12 @@ jobs:- name: save PR branch nameid: pr-branch-name- run: echo "id=$(<pr-branch-name.txt)" >> $GITHUB_OUTPUT+ run: echo "name=$(<pr-branch-name.txt)" >> $GITHUB_OUTPUT- name: Checkoutuses: actions/checkout@v3with:- ref: ${{ steps.pr-branch-name.outputs.id }}+ ref: ${{ steps.pr-branch-name.outputs.name }}- name: Setup workspace cacheuses: actions/cache@v3