Create dynamically sqlx-data.json file from github actions #2475
Unanswered
arkanoider
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
maybe a noob question or yet answered. I am trying to create the offline file directly in github actions, but in the end it seems to me that sqlx tries to connect to db env variable, this is my simple yml file:
This will raise an error because is still trying connection to db.
Locally I can do everything offline and it works like a charm, but I would like to automate the process on github CI otherwise i have always to regenerate the file if db table is modified.
Thanks guys!
Beta Was this translation helpful? Give feedback.
All reactions