diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 67045de..10d2aa2 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -25,7 +25,4 @@ jobs: - uses: actions/checkout@v1 - name: Build Archive - run: xcodebuild archive -project "MTMR.xcodeproj" -scheme "MTMR" -archivePath Release/App.xcarchive - - - name: Build App - run: xcodebuild -project "MTMR.xcodeproj" -exportArchive -archivePath Release/App.xcarchive -exportOptionsPlist export-options.plist -exportPath Release + run: xcodebuild archive -project "MTMR.xcodeproj" -scheme "MTMR" -archivePath Release/App.xcarchive CODE_SIGN_IDENTITY="${{ secrets.SIGN_IDENTITY }}" | xcpretty diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..3ca63e9 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,26 @@ +name: Swift + +on: [push] + +jobs: + test: + runs-on: macOS-latest + + steps: + - uses: actions/checkout@v1 + + - name: Set up Node.js + uses: actions/setup-node@v1 + with: + node-version: 12.x + + - name: Install create-dmg + run: npm i -g create-dmg + + # - name: Build Archive + # run: xcodebuild archive -project "MTMR.xcodeproj" -scheme "MTMR" -archivePath Release/App.xcarchive | xcpretty + + # - name: Build App + # run: xcodebuild -project "MTMR.xcodeproj" -exportArchive -archivePath Release/App.xcarchive -exportOptionsPlist export-options.plist -exportPath Release | xcpretty + + diff --git a/MTMR/Info.plist b/MTMR/Info.plist index 99603a5..8c7e7e0 100644 --- a/MTMR/Info.plist +++ b/MTMR/Info.plist @@ -39,7 +39,7 @@ NSHomeKitUsageDescription MTMR needs access to HomeKit for work NSHumanReadableCopyright - Copyright © 2018 Anton Palgunov. All rights reserved. + Copyright © 2018 - 2020 Anton Palgunov. All rights reserved. NSLocationAlwaysAndWhenInUseUsageDescription Weather widget need your location for correct work NSLocationAlwaysUsageDescription