mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-13 09:20:31 -07:00
Merge branch 'release/0.2.5' into develop
This commit is contained in:
commit
554a514ac5
2 changed files with 27 additions and 27 deletions
52
.github/workflows/build.yml
vendored
52
.github/workflows/build.yml
vendored
|
|
@ -186,7 +186,7 @@ jobs:
|
||||||
VERSION_NAME=$(grep '^version:' pubspec.yaml | cut -d ':' -f2 | cut -d '+' -f1 | tr -d ' ')
|
VERSION_NAME=$(grep '^version:' pubspec.yaml | cut -d ':' -f2 | cut -d '+' -f1 | tr -d ' ')
|
||||||
echo "PACKAGE_NAME=$APP_NAME-macOS-$VERSION_NAME" >> $GITHUB_ENV
|
echo "PACKAGE_NAME=$APP_NAME-macOS-$VERSION_NAME" >> $GITHUB_ENV
|
||||||
|
|
||||||
flutter build macos
|
flutter build macos --build-name=$VERSION_NAME --build-number=${{ github.run_number }}
|
||||||
|
|
||||||
- name: Create DMG file
|
- name: Create DMG file
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -199,37 +199,37 @@ jobs:
|
||||||
path: build/macos/Build/Products/Release/${{ env.PACKAGE_NAME }}.dmg
|
path: build/macos/Build/Products/Release/${{ env.PACKAGE_NAME }}.dmg
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4.1.1
|
uses: actions/checkout@v4.1.1
|
||||||
|
|
||||||
- name: Set up Flutter
|
- name: Set up Flutter
|
||||||
uses: subosito/flutter-action@v2.16.0
|
uses: subosito/flutter-action@v2.16.0
|
||||||
with:
|
with:
|
||||||
channel: ${{ vars.FLUTTER_CHANNEL }}
|
channel: ${{ vars.FLUTTER_CHANNEL }}
|
||||||
flutter-version: ${{ vars.FLUTTER_VERSION }}
|
flutter-version: ${{ vars.FLUTTER_VERSION }}
|
||||||
cache: true
|
cache: true
|
||||||
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:" # optional, change this to force refresh cache
|
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:" # optional, change this to force refresh cache
|
||||||
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:" # optional, change this to specify the cache path
|
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:" # optional, change this to specify the cache path
|
||||||
|
|
||||||
- name: Get dependencies
|
- name: Get dependencies
|
||||||
run: flutter pub get
|
run: flutter pub get
|
||||||
|
|
||||||
- name: Get packages
|
- name: Get packages
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
sudo apt-get install -y ninja-build libgtk-3-dev libmpv-dev
|
sudo apt-get install -y ninja-build libgtk-3-dev libmpv-dev
|
||||||
|
|
||||||
- name: Build Linux app
|
- name: Build Linux app
|
||||||
run: flutter build linux
|
run: flutter build linux
|
||||||
|
|
||||||
- name: Archive Linux artifact
|
- name: Archive Linux artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: linux
|
name: linux
|
||||||
path: build/linux/x64/release/bundle
|
path: build/linux/x64/release/bundle
|
||||||
|
|
||||||
build-web:
|
build-web:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
# In Windows, build-name is used as the major, minor, and patch parts
|
# In Windows, build-name is used as the major, minor, and patch parts
|
||||||
# of the product and file versions while build-number is used as the build suffix.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 0.2.4+1
|
version: 0.2.5+1
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=3.1.3 <4.0.0"
|
sdk: ">=3.1.3 <4.0.0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue