Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
itsnebulalol authored Sep 8, 2022
1 parent 85662ec commit e6e5eb8
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI

on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
- '.gitignore'

pull_request:
branches:
- main
paths-ignore:
- '**/*.md'
- '.gitignore'

workflow_dispatch:

jobs:
build:
name: Build
runs-on: macos-12

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Select Xcode version (14.0)
run: |
sudo xcode-select --switch /Applications/Xcode_14.0.app
- name: Build app
run: |
xcodebuild CODE_SIGNING_ALLOWED="NO" CODE_SIGNING_REQUIRED="NO" CODE_SIGN_IDENTITY="" BUILD_DIR=${{ github.workspace }}/xcodebuild
mkdir -p ${{ github.workspace }}/product
cp -R ${{ github.workspace }}/xcodebuild/Release/Accord.app ${{ github.workspace }}/product
cp -R ${{ github.workspace }}/xcodebuild/Release/Accord.app.dSYM ${{ github.workspace }}/product
cd ${{ github.workspace }}/product
zip -r ${{ github.workspace }}/Accord.zip .
- name: Upload app to artifacts
uses: actions/[email protected]
with:
name: Accord
path: ${{ github.workspace }}/Accord.zip

0 comments on commit e6e5eb8

Please sign in to comment.