1
0
mirror of https://github.com/Toxblh/MTMR.git synced 2026-01-09 16:48:38 +00:00

Updated workflows. For delivery unsign app in gihub

This commit is contained in:
Anton Palgunov 2020-05-13 23:22:31 +01:00
parent 6d266394a4
commit 3fc75ca8f0
2 changed files with 19 additions and 8 deletions

View File

@ -1,4 +1,4 @@
name: Swift
name: Build-and-test
on: [push, pull_request]

View File

@ -1,11 +1,12 @@
name: Swift
name: Publish unsign version
on:
push:
branches:
- master
tags:
- "v*"
# on:
# push:
# branches:
# - master
# tags:
# - "v*"
on: [push, pull_request]
jobs:
test:
@ -28,4 +29,14 @@ jobs:
- name: Build App
run: xcodebuild -project "MTMR.xcodeproj" -exportArchive -archivePath Release/App.xcarchive -exportOptionsPlist export-options.plist -exportPath Release | xcpretty -c && exit ${PIPESTATUS[0]}
- name: Create DMG
run: |
cd Release
create-dmg MTMR.app
- name: GitHub Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: Release/MTMR*.dmg.tgz