1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 10:14:04 +00:00

ci: add cd to each step

This commit is contained in:
Samuel Štancl 2025-01-02 05:49:29 +01:00
parent ededbbe1e2
commit 59e9590219

View file

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