Skip to content

Commit

Permalink
Change file path
Browse files Browse the repository at this point in the history
  • Loading branch information
Dtenwolde committed Jan 18, 2024
1 parent e428913 commit 67494ce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/_extension_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ on:
matrix_parse_script:
required: false
type: string
default: "./duckdb/scripts/modify_distribution_matrix.py"
default: "./duckdb-pgq/scripts/modify_distribution_matrix.py"

jobs:
generate_matrix:
Expand All @@ -63,13 +63,13 @@ jobs:

- name: Checkout DuckDB to version
run: |
cd duckdb
cd duckdb-pgq
git checkout ${{ inputs.duckdb_version }}
- id: parse-matrices
run: |
cat ./duckdb/.github/config/distribution_matrix.json > distribution_matrix.json
grep wasm distribution_matrix.json || (head -n -1 ./duckdb/.github/config/distribution_matrix.json > distribution_matrix.json && echo ',"wasm":{"include":[{"duckdb_arch":"wasm_mvp","vcpkg_triplet":"wasm32-emscripten"},{"duckdb_arch":"wasm_eh","vcpkg_triplet":"wasm32-emscripten"},{"duckdb_arch":"wasm_threads","vcpkg_triplet":"wasm32-emscripten"}]}}' >> distribution_matrix.json)
cat ./duckdb-pgq/.github/config/distribution_matrix.json > distribution_matrix.json
grep wasm distribution_matrix.json || (head -n -1 ./duckdb-pgq/.github/config/distribution_matrix.json > distribution_matrix.json && echo ',"wasm":{"include":[{"duckdb_arch":"wasm_mvp","vcpkg_triplet":"wasm32-emscripten"},{"duckdb_arch":"wasm_eh","vcpkg_triplet":"wasm32-emscripten"},{"duckdb_arch":"wasm_threads","vcpkg_triplet":"wasm32-emscripten"}]}}' >> distribution_matrix.json)
python3 ${{ inputs.matrix_parse_script }} --input distribution_matrix.json --deploy_matrix --output deploy_matrix.json --exclude "${{ inputs.exclude_archs }}" --pretty
deploy_matrix="`cat deploy_matrix.json`"
echo deploy_matrix=$deploy_matrix >> $GITHUB_OUTPUT
Expand All @@ -91,7 +91,7 @@ jobs:

- name: Checkout DuckDB to version
run: |
cd duckdb
cd duckdb-pgq
git checkout ${{ inputs.duckdb_version }}
- uses: actions/download-artifact@v2
Expand All @@ -112,7 +112,7 @@ jobs:
pwd
python3 -m pip install pip awscli
git config --global --add safe.directory '*'
cd duckdb
cd duckdb-pgq
git fetch --tags
export DUCKDB_VERSION=`git tag --points-at HEAD`
export DUCKDB_VERSION=${DUCKDB_VERSION:=`git log -1 --format=%h`}
Expand Down

0 comments on commit 67494ce

Please sign in to comment.