API: v7.13.0 #27
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: rAPId Release | |
| on: | |
| release: | |
| types: [released] | |
| jobs: | |
| setup: | |
| if: "${{ startsWith(github.event.release.name, 'SDK: ') }}" | |
| runs-on: self-hosted | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Log commit SHA | |
| run: echo $GITHUB_SHA | |
| sdk-release: | |
| needs: | |
| - setup | |
| runs-on: self-hosted | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Populate .env with additional vars | |
| run: | | |
| echo TWINE_USERNAME=${{ secrets.TWINE_USERNAME }} >> .env | |
| echo TWINE_PASSWORD=${{ secrets.TWINE_PASSWORD }} >> .env | |
| echo TWINE_NON_INTERACTIVE=true >> .env | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.12' | |
| cache: 'pip' | |
| - name: Setup Python Environment | |
| run: | | |
| make sdk/setup | |
| - name: SDK Release | |
| run: make sdk/release |