Skip to content

Commit

Permalink
ci(github-actions): use shared flutter package workflow (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeshuaro committed Jan 14, 2024
1 parent 33bbf1f commit c9fea9b
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 114 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/github-actions.yml
@@ -0,0 +1,24 @@
name: GitHub Actions

on:
push:
branches:
- main
pull_request:
workflow_dispatch:
schedule:
- cron: "0 0 * * SUN"

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true

jobs:
flutter-package:
uses: zeshuaro/github-actions-workflows/.github/workflows/flutter-package.yml@558806b7b3a113df7b24d810dad355a1c33dac8f
with:
release: ${{ (github.ref == 'refs/heads/main') && (contains(fromJSON('["workflow_dispatch", "schedule"]'), github.event_name)) }}
secrets:
GH_APP_ID: ${{ secrets.GH_APP_ID }}
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
GOOGLE_SERVICE_ACCOUNT_KEY: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}
113 changes: 0 additions & 113 deletions .github/workflows/github_actions.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -3,7 +3,7 @@
[![pub package](https://img.shields.io/pub/v/firestore_cache.svg)](https://pub.dartlang.org/packages/firestore_cache)
[![docs](https://img.shields.io/badge/docs-latest-blue.svg)](https://pub.dev/documentation/firestore_cache/latest/)
[![MIT License](https://img.shields.io/github/license/zeshuaro/firestore_cache.svg)](https://github.com/zeshuaro/firestore_cache/blob/master/LICENSE)
[![GitHub Actions](https://github.com/zeshuaro/firestore_cache/actions/workflows/github_actions.yml/badge.svg)](https://github.com/zeshuaro/firestore_cache/actions/workflows/github_actions.yml)
[![GitHub Actions](https://github.com/zeshuaro/firestore_cache/actions/workflows/github-actions.yml/badge.svg)](https://github.com/zeshuaro/firestore_cache/actions/workflows/github-actions.yml)
[![codecov](https://codecov.io/gh/zeshuaro/firestore_cache/branch/main/graph/badge.svg)](https://codecov.io/gh/zeshuaro/firestore_cache)
[![style: flutter_lints](https://img.shields.io/badge/style-flutter__lints-4BC0F5.svg)](https://pub.dev/packages/flutter_lints)

Expand Down
1 change: 1 addition & 0 deletions codecov.yml
@@ -0,0 +1 @@
comment: false

0 comments on commit c9fea9b

Please sign in to comment.