Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
odjuricicTT committed Oct 29, 2024
1 parent b9b239a commit 1cf8449
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,25 @@ jobs:
echo "build-output-dir=$(pwd)/build" >> "$GITHUB_OUTPUT"
echo "install-output-dir=$(pwd)/install" >> "$GITHUB_OUTPUT"
- name: Git safe dir
if: steps.filter.outputs.changed == 'true'
run: git config --global --add safe.directory ${{ steps.strings.outputs.work-dir }}

- name: Use build artifacts
if: steps.filter.outputs.changed == 'true'
uses: actions/download-artifact@v4
with:
name: install-artifacts-${{ matrix.build.name }}
path: ${{ steps.strings.outputs.install-output-dir }}

# This is needed to preserve file permissions
# https://github.com/actions/upload-artifact?tab=readme-ov-file#permission-loss
- name: 'Untar install directory'
if: steps.filter.outputs.changed == 'true'
shell: bash
working-directory: ${{ steps.strings.outputs.install-output-dir }}
run: tar xvf artifact.tar

- name: Build tt-explorer
if: steps.filter.outputs.changed == 'true'
shell: bash
Expand Down

0 comments on commit 1cf8449

Please sign in to comment.