Skip to content

Get the open weather api key from the environment of the github action to insert into the flutter build inside the snap build #17

@Feichtmeier

Description

@Feichtmeier
  • the api key is saved inside the secrets of this repository
  • it is possible to use secrets inside github actions
  • we need to forward this api key from here:

API_KEY: ${{ secrets.API_KEY }}

to here

flutter build linux --release -v

but with flutter build linux --release -v --dart-define=API_KEY="$API_KEY"

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions