mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-01-10 00:58:37 +00:00
Updated workflows. For delivery unsign app in gihub
This commit is contained in:
parent
6d266394a4
commit
3fc75ca8f0
2
.github/workflows/build-test.yml
vendored
2
.github/workflows/build-test.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Swift
|
name: Build-and-test
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
|||||||
25
.github/workflows/publish.yml
vendored
25
.github/workflows/publish.yml
vendored
@ -1,11 +1,12 @@
|
|||||||
name: Swift
|
name: Publish unsign version
|
||||||
|
|
||||||
on:
|
# on:
|
||||||
push:
|
# push:
|
||||||
branches:
|
# branches:
|
||||||
- master
|
# - master
|
||||||
tags:
|
# tags:
|
||||||
- "v*"
|
# - "v*"
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@ -28,4 +29,14 @@ jobs:
|
|||||||
- name: Build App
|
- name: Build App
|
||||||
run: xcodebuild -project "MTMR.xcodeproj" -exportArchive -archivePath Release/App.xcarchive -exportOptionsPlist export-options.plist -exportPath Release | xcpretty -c && exit ${PIPESTATUS[0]}
|
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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user