mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 12:42:34 +00:00
chore: upgrade to Flutter 3.0.3/ffe7b86a1e
[skip ci]
This commit is contained in:
15
.github/workflows/prepare.yml
vendored
15
.github/workflows/prepare.yml
vendored
@@ -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
|
||||
|
||||
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user