Workflow file for this run
This file contains 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: Record Release to Airtable | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
record-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install mc-manage package | |
run: | | |
pip install git+https://github.com/mediacloud/[email protected] | |
- name: Record successful release | |
run: | | |
python -m mc-manage.airtable-release-update --name mc-manage --version ${{ github.event.release.tag_name }} | |
env: | |
AIRTABLE_API_KEY: ${{ secrets.AIRTABLE_API_KEY }} | |
MEAG_BASE_ID: ${{ secrets.MEAG_BASE_ID}} | |
- name: Confirm release published to PyPI | |
run: | | |
pip show my-package |