Bump to 0.2.5

Added macos build number
This commit is contained in:
PartyDonut 2024-10-16 15:01:32 +02:00
parent 1bbf461fd4
commit ec8edd8624
2 changed files with 27 additions and 27 deletions

View file

@ -186,7 +186,7 @@ jobs:
VERSION_NAME=$(grep '^version:' pubspec.yaml | cut -d ':' -f2 | cut -d '+' -f1 | tr -d ' ')
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
run: |
@ -199,37 +199,37 @@ jobs:
path: build/macos/Build/Products/Release/${{ env.PACKAGE_NAME }}.dmg
build-linux:
runs-on: ubuntu-latest
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.1
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.1
- name: Set up Flutter
uses: subosito/flutter-action@v2.16.0
with:
channel: ${{ vars.FLUTTER_CHANNEL }}
flutter-version: ${{ vars.FLUTTER_VERSION }}
cache: true
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
- name: Set up Flutter
uses: subosito/flutter-action@v2.16.0
with:
channel: ${{ vars.FLUTTER_CHANNEL }}
flutter-version: ${{ vars.FLUTTER_VERSION }}
cache: true
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
- name: Get dependencies
run: flutter pub get
- name: Get dependencies
run: flutter pub get
- name: Get packages
run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev libmpv-dev
- name: Get packages
run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev libmpv-dev
- name: Build Linux app
run: flutter build linux
- name: Build Linux app
run: flutter build linux
- name: Archive Linux artifact
uses: actions/upload-artifact@v4
with:
name: linux
path: build/linux/x64/release/bundle
- name: Archive Linux artifact
uses: actions/upload-artifact@v4
with:
name: linux
path: build/linux/x64/release/bundle
build-web:
runs-on: ubuntu-latest