Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohalt committed Apr 13, 2024
1 parent 0c09b9c commit 4e672ab
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ on:
push:
workflow_dispatch: null

name: Create Release
name: CI

jobs:
lint:
Expand Down Expand Up @@ -43,10 +43,9 @@ jobs:
run: |
pytest --version
pytest
release:
debug-release:
name: Create Release
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
environment: release
needs: [lint, test]
permissions:
Expand All @@ -56,7 +55,26 @@ jobs:
with:
name: dist
path: dist
- name: Publish to PyPi
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/-publish@release/v1
- run: |
find .
#- name: Publish to PyPi
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# repository-url: https://test.pypi.org/legacy/-publish@release/v1
# release:
# name: Create Release
# runs-on: ubuntu-latest
# if: ${{ startsWith(github.ref, 'refs/tags/v') }}
# environment: release
# needs: [lint, test]
# permissions:
# id-token: write
# steps:
# - uses: actions/download-artifact@v4
# with:
# name: dist
# path: dist
# - name: Publish to PyPi
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# repository-url: https://test.pypi.org/legacy/-publish@release/v1

0 comments on commit 4e672ab

Please sign in to comment.