diff --git a/.github/workflows/deploy_on_release.yml b/.github/workflows/deploy_on_release.yml index 6a14fd5..94651a0 100644 --- a/.github/workflows/deploy_on_release.yml +++ b/.github/workflows/deploy_on_release.yml @@ -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: @@ -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 @@ -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 }}