Skip to content

Commit

Permalink
Upload built zip
Browse files Browse the repository at this point in the history
  • Loading branch information
homebysix committed Jun 9, 2023
1 parent bb20d54 commit ecfacd5
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,35 @@ jobs:
build:
name: Xcode build and analyze
runs-on: macos-13
steps:

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

- name: Install Apple Xcode certificates
- name: Install app signing certificates
uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2.0.0
with:
keychain-password: ${{ github.run_id }}
p12-file-base64: ${{ secrets.APP_CERTIFICATES_P12_MAOS }}
p12-password: ${{ secrets.APP_CERTIFICATES_P12_PASSWORD_MAOS }}

- name: Install Apple Installer certificates
- name: Install package signing certificates
uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2.0.0
with:
create-keychain: false # do not create a new keychain for this value
keychain-password: ${{ github.run_id }}
p12-file-base64: ${{ secrets.PKG_CERTIFICATES_P12_MAOS }}
p12-password: ${{ secrets.PKG_CERTIFICATES_P12_PASSWORD_MAOS }}

- name: Build
env:
scheme: ${{ 'default' }}
- name: Build, analyze, and save to outputs
run: |
xcodebuild -project "Escrow Buddy/Escrow Buddy.xcodeproj" clean build analyze -configuration Release
ditto -c -k --keepParent "${BUILDSDIR}/Release/Escrow Buddy.bundle" "${BUILDSDIR}/Release/Escrow Buddy.zip"
mkdir -p outputs
mv "${BUILDSDIR}/Release/Escrow Buddy.zip" outputs/
- name: Upload packages
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: packages
path: outputs/

0 comments on commit ecfacd5

Please sign in to comment.