Skip to content

v3.0.0

v3.0.0 #14

Workflow file for this run

name: Generate tables on BigQuery
on:
release:
types: [released]
env:
MIMIC_IV_VERSION: 3_1
jobs:
create-tables:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- id: 'auth'
uses: 'google-github-actions/auth@v0'
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
credentials_json: ${{ secrets.GCP_SA_KEY }}
- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v0'
- name: Run make_concepts
run: |
echo "Generating tables on BigQuery"
cd mimic-iv/concepts
bash make_concepts.sh
- name: Copy to release specific schema
run: |
echo "Copying tables to release specific schema: mimiciv_${MIMIC_IV_VERSION}_derived"
bash mimic-iv/concepts/copy_concepts_to_versioned_schema.sh ${MIMIC_IV_VERSION}