chore: upgrade to Flutter 3.0.3/ffe7b86a1e

[skip ci]
This commit is contained in:
Jagandeep Brar
2022-06-24 11:20:53 -04:00
parent 925f163e15
commit 16aa0a0dd1
6 changed files with 115 additions and 69 deletions

View File

@@ -3,6 +3,9 @@ name: Prepare
on:
workflow_call:
inputs:
changelog:
type: string
required: true
flavor:
type: string
required: true
@@ -43,7 +46,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Count Commits
id: commit-count
run: |
@@ -78,15 +81,15 @@ jobs:
id: build-changelog
uses: actions/github-script@v6
env:
CHANGELOG: ${{ inputs.changelog }}
FLAVOR: ${{ steps.build-flavor.outputs.result }}
MESSAGE: ${{ steps.commit-message.outputs.commit-message }}
COMMIT: ${{ steps.commit-message.outputs.commit-message }}
with:
result-encoding: string
script: |
const defaultMessage = 'Thank you for testing pre-release builds of LunaSea! Please consider joining the Discord to give feedback to the developer.\n\nChanges can be found on GitHub or by going to settings/system!';
const isEdge = process.env.FLAVOR === 'edge';
if (isEdge) return process.env.MESSAGE ?? defaultMessage;
return defaultMessage;
if (process.env.CHANGELOG) return process.env.CHANGELOG;
if (process.env.FLAVOR === 'edge') return process.env.COMMIT || 'No Documented Changes';
throw new Error('This flavor requires a changelog.');
- name: Build Number
id: build-number

View File

@@ -16,6 +16,11 @@ on:
- beta
- candidate
- stable
changelog:
description: Custom Release Changelog
required: false
default: ''
type: string
jobs:
prepare:
@@ -23,6 +28,7 @@ jobs:
uses: JagandeepBrar/LunaSea/.github/workflows/prepare.yml@master
with:
flavor: ${{ inputs.flavor }}
changelog: ${{ inputs.changelog }}
secrets:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}