Closed kzrnm closed 8 months ago
@kzrnm Any use case for this?
For running version checks during scheduled events. Installation of Flutter is not necessary.
on:
schedule:
- cron: '30 5 * * 2,4'
jobs:
version:
runs-on: ubuntu-latest
steps:
- id: flutter-action
uses: subosito/flutter-action@v2
with:
channel: 'stable'
dry-run: true
- run: |
VERSION=${{ steps.flutter-action.outputs.VERSION }}
echo $VERSION
# Compare $VERSION and ${{ inputs.current-version }}
# Notify version...
Interesting. So you would want to have notifications about new Flutter versions, right?
Or to auto-rebuild your app when a new Flutter version comes out?
So you would want to have notifications about new Flutter versions, right?
I don't need it if I'm developing alone, but it may be necessary if I'm developing in a team.
Hi! Thank you for the contribution. Could you add tests and update README to reflect your changes?
Yes this is good! I'd also like to see another test that asserts that dart
and flutter
fail (=are not found) when dry-run: true
is passed. Just to make sure that it indeed works.
Please also resolve conflitcts - sorry about that!
I want
dry-run
parameter for printing.