-
-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dry-run #270
Add dry-run #270
Conversation
@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? |
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? |
Is this test correct? |
Yes this is good! I'd also like to see another test that asserts that Please also resolve conflitcts - sorry about that! |
I want
dry-run
parameter for printing.