Ape Safe 0.8.23 #30
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: Release | |
| on: | |
| release: | |
| types: [released] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Ape | |
| uses: ApeWorX/github-action@v3 | |
| - name: Build and Install Contract Dependencies | |
| run: | | |
| ape pm compile | |
| ape run build | |
| - name: Install Package | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install .[release] | |
| - name: Build Python distribution | |
| run: python setup.py sdist bdist_wheel | |
| - name: Publish | |
| env: | |
| TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
| TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
| run: twine upload dist/* --verbose |