Skip to content

Add Swift SDK generation and release checks #416

Add Swift SDK generation and release checks

Add Swift SDK generation and release checks #416

Workflow file for this run

name: Check submodules
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check-submodules:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: true
- name: Check all submodules up-to-date
working-directory: ${{ github.workspace }}
env:
SWIFT_SUBMODULE_DEPLOY_KEY: ${{ secrets.SWIFT_SUBMODULE_DEPLOY_KEY }}
run: |
bash scripts/checkout-submodules.bash --remote
git diff --exit-code
check-swagger:
runs-on: ubuntu-latest
needs: [check-submodules]
steps:
- uses: actions/checkout@v6
- name: Check existing swagger specification is up-to-date
run: curl https://api.aspose.cloud/v4.0/barcode/swagger/spec | diff --strip-trailing-cr -y --suppress-common-lines spec/aspose-barcode-cloud.json -