From afa0ff94b2d2d215fb1bb64951b3c57492b03e11 Mon Sep 17 00:00:00 2001 From: stopflock Date: Wed, 8 Oct 2025 10:42:31 -0500 Subject: [PATCH] Remove keys.dart, update workflow --- .github/workflows/workflow.yml | 9 +++++++++ lib/{keys.dart => keys.dart.example} | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) rename lib/{keys.dart => keys.dart.example} (92%) 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';