Skip to content

Commit

Permalink
chore: update reset script
Browse files Browse the repository at this point in the history
chore: update reset script
  • Loading branch information
rjan90 committed Sep 18, 2024
1 parent 41f297e commit 865ce28
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/lotus-ansible-reset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,12 @@ jobs:

- name: Copy additional pre-seal files
run: |
mkdir -p {{ lotus_network_path }}/additional_preseals/
cp files/additional_preseals/* {{ lotus_network_path }}/additional_preseals/
mkdir -p "${{ env.LOTUSROOT }}/build/${{ inputs.network }}/additional_preseals/"
if [ -d "files/additional_preseals" ] && [ "$(ls -A files/additional_preseals)" ]; then
cp -r files/additional_preseals/* "${{ env.LOTUSROOT }}/build/${{ inputs.network }}/additional_preseals/"
else
echo "No additional pre-seal files found or directory is empty. Skipping copy."
fi
- name: Lotus Ansible Reset
uses: ./.github/actions/lotus-ansible-reset
Expand Down

0 comments on commit 865ce28

Please sign in to comment.