diff --git a/.github/workflows/run-verification.yml b/.github/workflows/run-verification.yml index 4a346e81..2f876aeb 100644 --- a/.github/workflows/run-verification.yml +++ b/.github/workflows/run-verification.yml @@ -20,6 +20,8 @@ jobs: steps: - name: checkout repo content uses: actions/checkout@v2 + with: + fetch-depth: 0 # can also specify python version if needed - name: setup python @@ -35,8 +37,8 @@ jobs: id: run-script run: | - #locate the .gds and .oas files - export FILES=$(find submissions -type f \( -name "*.gds" -o -name "*.oas" \) -exec basename {} \;) + #locate the changed / added .gds and .oas files in the submission folder + export FILES=$(git diff --name-status --diff-filter=ACM --relative=submissions ${{ github.event.before }} ${{ github.sha }} submissions | grep -E '\.(gds|oas)$' | awk '{print $2}') # print the names of the files echo "Files for verification: $FILES" diff --git a/submissions/ebeam_adiabatic_te1550.gds b/submissions/ebeam_adiabatic_te1550.gds new file mode 100644 index 00000000..5c1e37b1 Binary files /dev/null and b/submissions/ebeam_adiabatic_te1550.gds differ