From 16e9d1b8f06458da5c50b6163e9041fbde29db3d Mon Sep 17 00:00:00 2001 From: Ashwin K Whitchurch Date: Mon, 20 May 2024 22:35:38 +0530 Subject: [PATCH] Update GH Action --- .github/workflows/main.yml | 11 ++++++----- pubspec.yaml | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ee04683..e9a20fa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -92,9 +92,10 @@ jobs: run: | mv build/macos/Build/Products/Release/protocentral_openview_mobile.app ./OpenView2.app zip -r OpenView2-macos.zip ./OpenView2.app - - uses: ncipollo/release-action@v1 - name: Upload to Release + - name: Windows Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - name: macOS Release - artifacts: "./OpenView2-macos.zip" - token: ${{ secrets.GITHUB_TOKEN }} + files: ./OpenView2-macos.zip diff --git a/pubspec.yaml b/pubspec.yaml index 92ea826..43411c8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: OpenView2 description: BLE companion app for use with ProtoCentral breakout boards and modules -version: 2.0.0+69 +version: 2.0.1+70 environment: #sdk: ">=2.12.0 <3.0.0" @@ -17,6 +17,7 @@ dependencies: flutter_reactive_ble: ^5.0.2 bluetooth_enable_fork: ^0.1.4 geolocator: ^11.0.0 + intl: ^0.18.1 connectivity: ^3.0.6 permission_handler: ^11.3.1