Fixes - launch learning resource when logged out, new filter for all … #163
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: Flutter CI CD | |
on: | |
push: | |
branches: [main] | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+' | |
workflow_dispatch: # to manually run this workflow | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
prepare: | |
runs-on: macos-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Extract version from tag | |
uses: damienaicheh/[email protected] | |
- name: Setup cider | |
run: | | |
export PATH="$PATH":"$HOME/.pub-cache/bin" | |
pub global activate cider | |
- name: Set version | |
run: | | |
echo "Setting version to ${{ github.ref_name }}" | |
cider version ${{ github.ref_name }} | |
- name: Update change log | |
run: cider release | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v7 | |
with: | |
author_name: GitHub Actions | |
author_email: [email protected] | |
branch: main | |
message: "Update version on pubspec.yaml & update change log" | |
- name: Release ios | |
uses: now-u/now-u-backend/.github/workflows/android-release.yml@main | |
secrets: inherit | |
release-ios: | |
needs: prepare | |
uses: now-u/now-u-app/.github/workflows/ios-release.yml@main | |
secrets: inherit | |
release-android: | |
needs: prepare | |
uses: now-u/now-u-app/.github/workflows/android-release.yml@main | |
secrets: inherit |