|
|
|
@ -6,6 +6,10 @@ jobs:
|
|
|
|
release:
|
|
|
|
release:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# TODO
|
|
|
|
|
|
|
|
# env:
|
|
|
|
|
|
|
|
# is_tag: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
|
|
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
matrix:
|
|
|
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
|
|
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
|
|
|
@ -57,7 +61,7 @@ jobs:
|
|
|
|
API_KEY_ISSUER_ID: ${{ secrets.api_key_issuer_id }}
|
|
|
|
API_KEY_ISSUER_ID: ${{ secrets.api_key_issuer_id }}
|
|
|
|
|
|
|
|
|
|
|
|
- name: Upload to Mac App Store
|
|
|
|
- name: Upload to Mac App Store
|
|
|
|
if: startsWith(matrix.os, 'macos')
|
|
|
|
if: startsWith(matrix.os, 'macos') && startsWith(github.ref, 'refs/tags/v')
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
mkdir -p ~/.appstoreconnect/private_keys/
|
|
|
|
mkdir -p ~/.appstoreconnect/private_keys/
|
|
|
|
echo '${{ secrets.api_key }}' > ~/.appstoreconnect/private_keys/AuthKey_${{ secrets.api_key_id }}.p8
|
|
|
|
echo '${{ secrets.api_key }}' > ~/.appstoreconnect/private_keys/AuthKey_${{ secrets.api_key_id }}.p8
|
|
|
|
|