This repository was archived by the owner on Sep 28, 2024. It is now read-only.
v3.1.3 #10
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: Publish package | |
on: | |
release: | |
types: | |
- created | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install Poetry | |
uses: abatilo/[email protected] | |
- name: Setup environment | |
run: poetry install --no-root | |
- name: Build and publish package | |
run: poetry publish --build --username __token__ --password ${{ secrets.TOKEN_PYPI }} | |
- name: Notify via Slack | |
with: | |
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} | |
pypi_project_name: nintendeals | |
uses: fedecalendino/[email protected] |