Skip to content

Commit

Permalink
ci: add cd to each step
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl committed Jan 2, 2025
1 parent ededbbe commit 59e9590
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 59e9590

Please sign in to comment.