Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pbarbenheim committed Feb 6, 2024
1 parent 255763e commit 2119a68
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 75 deletions.
35 changes: 23 additions & 12 deletions .github/workflows/Flutter Release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: Flutter CI

on:
push:
on:
push:
tags:
- v**

env:
flutterversion: "e.16.x"
jobs:
build-and-release-linux:
runs-on: ubuntu-latest
Expand All @@ -13,8 +14,8 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
flutter-version: '2.10.0'
channel: "stable"
flutter-version: ${{ env.flutterversion }}
- name: Install dependencies
run: sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
- name: Install project dependencies
Expand All @@ -28,7 +29,7 @@ jobs:
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
type: "zip"
filename: MacRecoveryX-${{github.ref_name}}-linux.zip
directory: build/linux/x64/release/bundle
- name: Linux Release
Expand All @@ -38,6 +39,16 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: build/linux/x64/release/bundle/MacRecoveryX-${{github.ref_name}}-linux.zip
- name: Snapcraft Build
uses: snapcore/action-build@v1
id: build
- name: Publish in Snapstore
uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STROE_CREDENTIALS: ${{ secrets.SNAPSTORE_LOGIN }}
with:
snap: ${{ steps.build.outputs.snap }}
release: release

build-and-release-windows:
runs-on: windows-latest
Expand All @@ -46,8 +57,8 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
flutter-version: '2.10.0'
channel: "stable"
flutter-version: ${{ env.flutterversion }}
- name: Install project dependencies
run: flutter pub get
- name: Generate intermediates
Expand All @@ -59,7 +70,7 @@ jobs:
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
type: "zip"
filename: MacRecoveryX-${{github.ref_name}}-windows.zip
directory: build/windows/runner/Release
- name: Windows Release
Expand All @@ -77,8 +88,8 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
flutter-version: '2.10.0'
channel: "stable"
flutter-version: ${{ env.flutterversion }}
- name: Install project dependencies
run: flutter pub get
- name: Generate intermediates
Expand All @@ -90,7 +101,7 @@ jobs:
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
type: "zip"
filename: MacRecoveryX-${{github.ref_name}}-macos.zip
directory: build/macos/Build/Products/Release
- name: macOS Release
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/build_windows.yml

This file was deleted.

24 changes: 0 additions & 24 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.18.0"
console:
dependency: transitive
description:
name: console
sha256: e04e7824384c5b39389acdd6dc7d33f3efe6b232f6f16d7626f194f6a01ad69a
url: "https://pub.dev"
source: hosted
version: "4.1.0"
convert:
dependency: transitive
description:
Expand Down Expand Up @@ -389,14 +381,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.2.0"
get_it:
dependency: transitive
description:
name: get_it
sha256: e6017ce7fdeaf218dc51a100344d8cb70134b80e28b760f8bb23c242437bafd7
url: "https://pub.dev"
source: hosted
version: "7.6.7"
glob:
dependency: transitive
description:
Expand Down Expand Up @@ -549,14 +533,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.0.5"
msix:
dependency: "direct dev"
description:
name: msix
sha256: "519b183d15dc9f9c594f247e2d2339d855cf0eaacc30e19b128e14f3ecc62047"
url: "https://pub.dev"
source: hosted
version: "3.16.7"
node_preamble:
dependency: transitive
description:
Expand Down
14 changes: 0 additions & 14 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ dev_dependencies:
build_runner: ^2.4.8
build_verify: ^3.1.0
flutter_launcher_icons: ^0.13.1
msix: ^3.16.7

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down Expand Up @@ -113,16 +112,3 @@ flutter:
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages

msix_config:
display_name: Dienstbuch
publisher_display_name: Paul Barbenheim
identity_name: de.barbenheim.dienstbuch
msix: 1.0.0.0
capabilities: removableStorage, documentsLibrary
file_extension: .jfdb, .jfdienstbuch, .dienstbuch
output_path: .
output_name: dienstbuch_win
sign_msix: false
install_certificate: false
publisher: CN=Paul Barbenheim, O=Paul Barbenheim, C=DE

0 comments on commit 2119a68

Please sign in to comment.