Skip to content

Commit

Permalink
checkout test-repo after script checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm committed Dec 10, 2024
1 parent 147e979 commit 61fa3b5
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -289,12 +289,12 @@ jobs:

name: External repo compilation report - ${{ matrix.project.repo }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ matrix.project.repo }}
path: test-repo
ref: ${{ matrix.project.ref }}
# - name: Checkout
# uses: actions/checkout@v4
# with:
# repository: ${{ matrix.project.repo }}
# path: test-repo
# ref: ${{ matrix.project.ref }}

- name: Download nargo binary
uses: actions/download-artifact@v4
Expand All @@ -312,17 +312,24 @@ jobs:
- uses: actions/checkout@v4
with:
path: test-repo/${{ matrix.project.path }}
# path: test-repo/${{ matrix.project.path }}
sparse-checkout: |
test_programs/compilation_report.sh
sparse-checkout-cone-mode: false

- name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ matrix.project.repo }}
path: test-repo
ref: ${{ matrix.project.ref }}

- name: Generate compilation report
working-directory: ./test-repo/${{ matrix.project.path }}
run: |
ls .
# mv /home/runner/test_programs/compilation_report.sh ./compilation_report.sh
mv ./test_programs/compilation_report.sh ./compilation_report.sh
mv /home/runner/test_programs/compilation_report.sh ./compilation_report.sh
# mv ./test_programs/compilation_report.sh ./compilation_report.sh
chmod +x ./compilation_report.sh
./compilation_report.sh 1
Expand Down

0 comments on commit 61fa3b5

Please sign in to comment.