diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index a3d5ff2..0df61ee 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -47,6 +47,9 @@ jobs: with: channel: 'stable' + - name: Create keys.dart from example + run: cp lib/keys.dart.example lib/keys.dart + - name: Install dependencies run: flutter pub get @@ -96,6 +99,9 @@ jobs: with: channel: 'stable' + - name: Create keys.dart from example + run: cp lib/keys.dart.example lib/keys.dart + - name: Install dependencies run: flutter pub get @@ -138,6 +144,9 @@ jobs: with: channel: 'stable' + - name: Create keys.dart from example + run: cp lib/keys.dart.example lib/keys.dart + - name: Install dependencies run: flutter pub get diff --git a/lib/keys.dart b/lib/keys.dart.example similarity index 92% rename from lib/keys.dart rename to lib/keys.dart.example index dcb775f..2f9445d 100644 --- a/lib/keys.dart +++ b/lib/keys.dart.example @@ -1,6 +1,6 @@ // OpenStreetMap OAuth client IDs for this app. // -// NEVER commit real secrets to public repos. For open source, use keys.dart.example instead. +// NEVER commit keys.dart to public repos. For open source, use keys.dart.example instead. import 'dart:io';