mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-01-11 17:38:38 +00:00
del npm build
This commit is contained in:
parent
a35b77bfe3
commit
d4762ab81d
16
.github/workflows/build-test.yml
vendored
16
.github/workflows/build-test.yml
vendored
@ -24,27 +24,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- 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
|
- name: Build Archive
|
||||||
run: xcodebuild archive -project "MTMR.xcodeproj" -scheme "MTMR" -archivePath Release/App.xcarchive DEVELOPMENT_TEAM="" CODE_SIGN_IDENTITY="" | xcpretty -c && exit ${PIPESTATUS[0]}
|
run: xcodebuild archive -project "MTMR.xcodeproj" -scheme "MTMR" -archivePath Release/App.xcarchive DEVELOPMENT_TEAM="" CODE_SIGN_IDENTITY="" | xcpretty -c && exit ${PIPESTATUS[0]}
|
||||||
|
|
||||||
- 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: Build dmg
|
|
||||||
run: |
|
|
||||||
cd Release
|
|
||||||
rm -r App.xcarchive
|
|
||||||
create-dmg MTMR.app
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: MTMR.app
|
name: MTMR.app
|
||||||
path: Release/MTMR.app
|
path: Release/App.xcarchive/Products/Applications/MTMR.app
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user