Feat: 마지막 조회했던 위치 저장 기능 #51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Test | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: stable | |
flutter-version: 3.19.6 | |
cache: true | |
- run: flutter --version | |
- name: Create Firebase Json | |
uses: jsdaniell/[email protected] | |
with: | |
name: "firebase.json" | |
json: ${{ secrets.FIREBASE_PROJECT_ID }} | |
- name: Create Jey JKS | |
uses: timheuer/[email protected] | |
with: | |
fileName: 'key.jks' | |
fileDir: './android/app/' | |
encodedString: ${{ secrets.KEY_JKS }} | |
- name: Create key properties | |
uses: timheuer/[email protected] | |
with: | |
fileName: 'key.properties' | |
fileDir: './android/' | |
encodedString: ${{ secrets.KEY_PROPERTIES }} | |
- name: Create Filebase_options.dart | |
uses: timheuer/[email protected] | |
with: | |
fileName: 'firebase_options.dart' | |
fileDir: './lib/' | |
encodedString: ${{ secrets.FIREBASE_OPTIONS }} | |
- name: Create Google Service Json | |
uses: jsdaniell/[email protected] | |
with: | |
dir: android/app/ | |
name: "google-services.json" | |
json: ${{ secrets.GOOGLE_SERVICE }} | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Test | |
run: flutter test | |
- name: Build APK | |
run: flutter build apk --debug |