Skip to content

Commit

Permalink
Fix the GITHUB_REF usage
Browse files Browse the repository at this point in the history
  • Loading branch information
pinkfish authored May 31, 2020
1 parent dfa2b38 commit 77a5352
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: mikefarah/[email protected]
with:
cmd: yq w -i pubspec.yaml 'version' "${GITHUB_REF#refs/heads/}"
- uses: subosito/flutter-action@v1
with:
flutter-version: '1.17.1'
channel: 'stable'
- uses: mikefarah/[email protected]
with:
cmd: yq w -i pubspec.yaml 'version' '{{GITHUB_REF}}'
- run: dart --version
- run: flutter --version
- run: flutter pub get
Expand Down

0 comments on commit 77a5352

Please sign in to comment.