Skip to content

Commit

Permalink
Try to delete irrelevant downloaded artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Miroslav Kovar <[email protected]>
  • Loading branch information
mirgee committed Jan 9, 2023
1 parent 47852a5 commit 5c8ed7b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/actions/publish-napi/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ runs:
run: npm install
working-directory: ${{ github.workspace }}/wrappers/vcx-napi-rs
shell: bash
- name: Download all artifacts
- name: Download napi artifacts
uses: actions/download-artifact@v3
with:
path: ${{ github.workspace }}/wrappers/vcx-napi-rs/artifacts
- name: Move artifacts
run: npm run artifacts
run: |
find . -type d -not -path \*\*/artifacts/bindings-\* -path \*\*/artifacts/\*\* -mindepth 2 -maxdepth 2 -exec rm -rf {} \+
npm run artifacts
working-directory: ${{ github.workspace }}/wrappers/vcx-napi-rs
shell: bash
- name: Publish
Expand Down

0 comments on commit 5c8ed7b

Please sign in to comment.