PAINTROID-765 Add more shapes to Shapes Tool #730
Workflow file for this run
This file contains 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 and Analyze | |
on: [ push, pull_request ] | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: subosito/[email protected] | |
with: | |
flutter-version: "3.22.2" | |
channel: "stable" | |
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:" | |
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:" | |
architecture: x64 | |
- name: Setup | |
run: make get | |
- name: Static Analysis | |
run: make lint | |
- name: Unit Tests | |
run: make unit | |
- name: Widget Tests | |
run: make widget | |
- name: Integration Tests | |
run: make integration | |
- name: Install xmlstarlet | |
run: sudo apt-get install -y xmlstarlet | |
- name: Prepare App Name and Identifier | |
run: | | |
chmod +x ./.github/workflows/update_app_identifiers.sh | |
./.github/workflows/update_app_identifiers.sh ${{ github.event.number }} | |
- name: Build release package | |
run: | | |
flutter build apk --release | |
mv build/app/outputs/flutter-apk/app-release.apk build/app/outputs/flutter-apk/flutter-paint-${{ github.event.number }}.apk | |
- name: Archive build artifacts | |
uses: actions/[email protected] | |
with: | |
name: flutter-paint-apk-${{ github.event.number }} | |
path: | | |
build/app/outputs/flutter-apk/flutter-paint-${{ github.event.number }}.apk |