From 6ef2ba53b21023468f411c42702c064ed88a9e06 Mon Sep 17 00:00:00 2001 From: Jordan Robinson Date: Sun, 26 Oct 2025 20:01:34 +0000 Subject: [PATCH] Refactor GitHub Actions workflow for publishing --- .github/workflows/publish.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e2b5b7773e6f6ffb36ccab3d276d605c3d849f78..14c080d5af858e3a602e766cc6cb142358dbd623 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,26 +8,21 @@ on: jobs: publish: runs-on: ubuntu-latest - container: - image: cimg/python:3.12-node steps: - # Checkout the repository - uses: actions/checkout@v4 with: fetch-depth: 0 ref: 'main' - - # Install Flit + - name: Set up Python + uses: actions/setup-python@v5 - name: Install Flit - run: pip install --upgrade pip flit - - # Install project dependencies + run: pip install flit - name: Install Dependencies run: flit install --symlink - - # Publish to PyPI - name: Publish env: + # FLIT_USERNAME: ${{ secrets.FLIT_USERNAME }} + # FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }} FLIT_USERNAME: __token__ FLIT_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: flit publish