Skip to content

Commit

Permalink
Updated workflows. For delivery unsign app in gihub
Browse files Browse the repository at this point in the history
  • Loading branch information
Toxblh committed May 13, 2020
1 parent 6d26639 commit 3fc75ca
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Swift
name: Build-and-test

on: [push, pull_request]

Expand Down
25 changes: 18 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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

0 comments on commit 3fc75ca

Please sign in to comment.