Skip to content

Commit

Permalink
ci: update action names
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Oct 10, 2022
1 parent d0e75e8 commit d27c5e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/metrics.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: SDK metrics

on:
push:
branches: [main]
Expand Down Expand Up @@ -31,13 +33,13 @@ jobs:
# Let's stick to an explicit version and update manually because a version change may affect results.
# If it updated implicitly, it could confuse people to think the change is actually caused by the PR.
# Instead, we use updater (update-deps.yml) to create PRs for explicit Flutter SDK update.
- name: Read Flutter version from file
- name: Read configured Flutter SDK version
id: conf
run: |
version=$(grep "version" metrics/flutter.properties | cut -d'=' -f2 | xargs)
echo "::set-output name=flutter::$version"
- name: Install Flutter ${{ steps.conf.outputs.flutter }}
- name: Install Flutter v${{ steps.conf.outputs.flutter }}
uses: subosito/flutter-action@1e6ee87cb840500837bcd50a667fb28815d8e310 # pin@v2
with:
flutter-version: ${{ steps.conf.outputs.flutter }}
Expand Down

0 comments on commit d27c5e4

Please sign in to comment.