diff --git a/.github/workflows/patch.yml b/.github/workflows/patch.yml index dda226a7..271a0abe 100644 --- a/.github/workflows/patch.yml +++ b/.github/workflows/patch.yml @@ -23,6 +23,7 @@ jobs: uses: actions/checkout@v3 - name: 🐦 Setup Shorebird + if: false uses: shorebirdtech/setup-shorebird@v1 with: cache: true @@ -70,11 +71,13 @@ jobs: cp $PP_PATH_MACOS ~/Library/MobileDevice/Provisioning\ Profiles - name: Decode Keystore + if: false run: | echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > android/android.keystore; echo "${{ secrets.KEYSTORE_PROPERTIES }}" > android/keystore.properties; - name: 🚀 Shorebird Patch macOS + if: false uses: shorebirdtech/shorebird-patch@v1 with: platform: macos @@ -82,6 +85,7 @@ jobs: args: '--allow-asset-diffs' - name: 🚀 Shorebird Patch Android + if: false uses: shorebirdtech/shorebird-patch@v1 with: platform: android @@ -89,6 +93,7 @@ jobs: args: '--allow-asset-diffs' - name: 🚀 Shorebird Patch iOS + if: false uses: shorebirdtech/shorebird-patch@v1 with: platform: ios @@ -103,12 +108,15 @@ jobs: # shorebird struggles with the app from GitHub - name: Build macOS - env: - DEVELOPER_ID_APPLICATION_SIGNING_IDENTITY: ${{ secrets.DEVELOPER_ID_APPLICATION_SIGNING_IDENTITY }} run: | flutter build macos --release; cd build/macos/Build/Products/Release/; zip -r SwiftControl.macos.zip SwiftControl.app/; + + - name: Sign macOS build + env: + DEVELOPER_ID_APPLICATION_SIGNING_IDENTITY: ${{ secrets.DEVELOPER_ID_APPLICATION_SIGNING_IDENTITY }} + run: | version=$(grep '^version: ' pubspec.yaml | cut -d ' ' -f 2 | tr -d '\r'); echo "VERSION=$version" >> $GITHUB_ENV; /usr/bin/codesign --deep --force -s "$DEVELOPER_ID_APPLICATION_SIGNING_IDENTITY" --entitlements ../../../../../macos/Runner/Release.entitlements --options runtime SwiftControl.app -v; diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index dd8ac88d..402be51f 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -1,4 +1,4 @@ -name: "Build" +name: "Build Web" on: push: