Skip to content

Commit

Permalink
ci(gh-actions): change to git restore command (#963)
Browse files Browse the repository at this point in the history
  • Loading branch information
nogic1008 committed May 3, 2024
1 parent 9e13690 commit 4cfcbeb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,12 @@ jobs:
with:
ref: ${{ vars.RELEASE_BRANCH }}

- name: Checkout Documents from main
uses: actions/checkout@v4.1.4
with:
sparse-checkout: ${{ vars.RELEASE_ASSETS }}
sparse-checkout-cone-mode: false
- name: Restore Documents from main
run: |
git restore --source=origin/main -- *.md
git restore --source=origin/main -- LICENSE
git restore --source=origin/main -- action.yml
git restore --source=origin/main -- images/*.png
- name: Download Build Assets
uses: actions/download-artifact@v4.1.7
Expand Down

0 comments on commit 4cfcbeb

Please sign in to comment.