Skip to content

Commit

Permalink
Merge pull request #5 from joshuaspear/joshuaspear-patch-1
Browse files Browse the repository at this point in the history
Update deploy_on_release.yml
  • Loading branch information
joshuaspear authored Feb 23, 2024
2 parents e5b2a8f + e5fcd0f commit cde25c1
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/deploy_on_release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Upload Python Package

on:
Expand All @@ -18,11 +10,11 @@ permissions:

jobs:
deploy:
name: 🏗 ${{ matrix.os }} 📦 for 🐍 ${{ matrix.python-version }}
name: 📦 for 🐍 ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v3
Expand All @@ -37,7 +29,7 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit cde25c1

Please sign in to comment.