mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 12:42:34 +00:00
chore(ci): script to clear CI Flutter SDK [skip ci]
This commit is contained in:
23
.github/workflows/clear_flutter_cache.yml
vendored
Normal file
23
.github/workflows/clear_flutter_cache.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Clear Flutter Cache
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
clear:
|
||||
name: Clear Cache
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: generate Unique Key
|
||||
run: echo CACHE_KEY=key-$(date +%s) >> $GITHUB_ENV
|
||||
|
||||
- name: Install Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: beta
|
||||
cache: true
|
||||
cache-key: ${{ env.CACHE_KEY }}
|
||||
|
||||
- name: Flutter Doctor
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: flutter doctor -v
|
||||
Reference in New Issue
Block a user