Skip to content

Commit

Permalink
fix: export path to cli tools
Browse files Browse the repository at this point in the history
Signed-off-by: Jason C. Leach <jason.leach@fullboar.ca>
  • Loading branch information
jleach committed Nov 10, 2022
1 parent 3ddec2f commit 25f2176
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 1 deletion.
56 changes: 56 additions & 0 deletions .github/workflows/blarb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Test

env:
cacheId: "11" # increment to expire the cache
appBuildNumber: ${{ github.run_number }}
appBuildVersion: "1.0.4"

on:
workflow_dispatch:
push:
branches: [main]
paths:
- app/**
- bifold
pull_request:
branches: [main]
paths:
- app/**

jobs:
build-ios:
# if: ${{ false }} # disable for now
runs-on: macos-latest
steps:
- uses: actions/checkout@v2

- name: Pull & update submodules recursively
run: |
git submodule update --init --recursive
- name: What XCode are we using?
run: |
xcode-select -p
- name: Configure node
uses: actions/setup-node@v1
with:
node-version: "16.15.0"
registry-url: "https://registry.npmjs.org"

- name: Configure ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6

# https://blog.codemagic.io/app-store-connect-api-codemagic-cli-tools/
- name: Install Codemagic CLI Tools
if: github.ref_name == 'main'
run: |
pip3 install codemagic-cli-tools
# https://blog.codemagic.io/app-store-connect-api-codemagic-cli-tools/
- name: xxx
if: github.ref_name == 'main'
run: |
find / -iname '*codemagic*'
3 changes: 2 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ jobs:
APP_STORE_CONNECT_KEY_IDENTIFIER: ${{ secrets.APP_STORE_CONNECT_KEY_IDENTIFIER }}
APP_STORE_CONNECT_PRIVATE_KEY: ${{ secrets.APP_STORE_CONNECT_PRIVATE_KEY_95 }}
run: |
/usr/local/bin/app-store-connect publish \
export PATH=$PATH:/Library/Frameworks/Python.framework/Versions/3.11/bin
app-store-connect publish \
--apple-id ${{ secrets.APPLE_ID }} \
--password ${{ secrets.APPLE_ID_PASSWD }} \
--enable-package-validation \
Expand Down

0 comments on commit 25f2176

Please sign in to comment.