Skip to content

Commit

Permalink
CI: debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas committed Jan 1, 2024
1 parent 154e09b commit 931f1f3
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
name: Release
on:
release:
types:
- published
push:
tags:
- '**'

jobs:
print-context:
runs-on: ubuntu-latest
steps:
- name: print-gh-context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"

pypi-publish:
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
name: Deploy release to PyPI
runs-on: ubuntu-latest
environment:
Expand All @@ -28,4 +35,4 @@ jobs:
- name: Build package
run: python -m build .
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1.8.11
uses: pypa/[email protected]

0 comments on commit 931f1f3

Please sign in to comment.