Skip to content

Commit

Permalink
fix: update GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrarafer committed Dec 4, 2023
1 parent 0a93a38 commit f252612
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
with:
channel: 'stable'
- run: dart pub get
- name: Build app with API_KEY
run: dart compile exe -D POSTHOG_API_KEY=${{ secrets.POSTHOG_API_KEY }} bin/stacked.dart
- name: Build app
run: dart compile exe -D POSTHOG_API_KEY="${{ secrets.POSTHOG_API_KEY }}" bin/stacked.dart
- name: release
uses: cycjimmy/semantic-release-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion bin/stacked.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Future<void> main(List<String> arguments) async {

try {
final argResults = runner.parse(arguments);
// await _handleFirstRun();
await _handleFirstRun();

if (argResults[ksVersion]) {
await _handleVersion();
Expand Down
2 changes: 2 additions & 0 deletions lib/src/services/posthog_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ class PosthogService {
'telemetry_config',
compactionStrategy: (entries, deletedEntries) => deletedEntries > 50,
);

_log.info(message: 'Initialized with Key:${_apiKey.substring(0, 2)}');
}

Future<void> _capture({
Expand Down

0 comments on commit f252612

Please sign in to comment.