Skip to content

Commit

Permalink
Setup trusted release
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Z. Yang <[email protected]>
  • Loading branch information
ezyang committed Feb 26, 2024
1 parent aa06c94 commit 6dda063
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ concurrency:

permissions:
contents: read
id-token: write

jobs:
linux:
Expand Down Expand Up @@ -89,6 +90,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
environment: release
if: "startsWith(github.ref, 'refs/tags/')"
needs: [linux, windows, macos, sdist]
steps:
Expand All @@ -97,8 +99,6 @@ jobs:
name: wheels
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
args: --non-interactive --skip-existing *
5 changes: 5 additions & 0 deletions plan.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,8 @@ feb 23 ideas
- post_grad_graph and output_code occasionally has no context; how to orient
in this situation :think:
- would like to know code hash, so can generate links to files


- recompile
- dynamic shape dimension changed
- just collect them all at once place

0 comments on commit 6dda063

Please sign in to comment.