Skip to content

Commit

Permalink
refactor: use .env vars for version
Browse files Browse the repository at this point in the history
  • Loading branch information
recoskyler committed Apr 24, 2024
1 parent ecd61cf commit b91da96
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ jobs:
- uses: actions/[email protected]
- uses: actions/setup-java@v4
with:
java-version: 17
java-version: ${{ env.JAVA_VERSION }}

- name: Cache Flutter dependencies
uses: actions/[email protected]
with:
path: /opt/hostedtoolcache/flutter
key: ${{ runner.OS }}-flutter-install-cache-3.19.6
key: ${{ runner.OS }}-flutter-install-cache-${{ env.FLUTTER_VERSION }}

- uses: subosito/flutter-action@v2
with:
flutter-version: 3.19.6
flutter-version: ${{ env.FLUTTER_VERSION }}

- run: flutter doctor -v

Expand Down Expand Up @@ -65,17 +65,17 @@ jobs:
- uses: actions/[email protected]
- uses: actions/setup-java@v4
with:
java-version: 17
java-version: ${{ env.JAVA_VERSION }}

- name: Cache Flutter dependencies
uses: actions/[email protected]
with:
path: /opt/hostedtoolcache/flutter
key: ${{ runner.OS }}-flutter-install-cache-3.19.6
key: ${{ runner.OS }}-flutter-install-cache-${{ env.FLUTTER_VERSION }}

- uses: subosito/flutter-action@v2
with:
flutter-version: 3.19.6
flutter-version: ${{ env.FLUTTER_VERSION }}

- run: flutter doctor -v

Expand Down Expand Up @@ -115,17 +115,17 @@ jobs:
- uses: actions/[email protected]
- uses: actions/setup-java@v4
with:
java-version: 17
java-version: ${{ env.JAVA_VERSION }}

- name: Cache Flutter dependencies
uses: actions/[email protected]
with:
path: /opt/hostedtoolcache/flutter
key: ${{ runner.OS }}-flutter-install-cache-3.19.6
key: ${{ runner.OS }}-flutter-install-cache-${{ env.FLUTTER_VERSION }}

- uses: subosito/flutter-action@v2
with:
flutter-version: 3.19.6
flutter-version: ${{ env.FLUTTER_VERSION }}

- run: flutter doctor -v

Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: 3.19.6
flutter-version: ${{ env.FLUTTER_VERSION }}

- name: Install project dependencies
run: flutter pub get
Expand Down

0 comments on commit b91da96

Please sign in to comment.