diff --git a/.github/workflows/extensions.yml b/.github/workflows/extensions.yml index b458eacd..f2ec34b2 100644 --- a/.github/workflows/extensions.yml +++ b/.github/workflows/extensions.yml @@ -22,28 +22,26 @@ jobs: with: fetch-depth: 0 - - name: Change working directory to extensions/ - run: cd extensions - - name: Download SQLite headers (Unix) if: runner.os != 'Windows' - run: make headers + run: cd extensions && make headers - name: Download SQLite headers (Windows) if: runner.os == 'Windows' run: | + cd extensions curl.exe -L https://www.sqlite.org/2024/sqlite-amalgamation-3470200.zip -o sqlite-src.zip Expand-Archive -Path sqlite-src.zip -DestinationPath . Copy-Item sqlite-amalgamation-3470200\sqlite3.h . Copy-Item sqlite-amalgamation-3470200\sqlite3ext.h . - name: Build C files - run: | - make + run: cd extensions && make - name: Commit output files if: matrix.os == 'ubuntu-latest' run: | + cd extensions git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" git add lib/