2424 uses : actions/checkout@v5
2525 with :
2626 fetch-depth : 0
27- token : ${{ secrets.GITHUB_TOKEN }}
2827
2928 - name : " [INIT] Git Config"
3029 run : |
3534 uses : cachix/install-nix-action@v31
3635 with :
3736 nix_path : nixpkgs=channel:nixos-unstable
38- github_access_token : ${{ secrets.GITHUB_TOKEN }}
3937
4038 - name : " [INIT] Setup Cachix"
4139 uses : cachix/cachix-action@v15
7674 uses : cachix/install-nix-action@v31
7775 with :
7876 nix_path : nixpkgs=channel:nixos-unstable
79- github_access_token : ${{ secrets.GITHUB_TOKEN }}
8077
8178 - name : " [INIT] Setup Cachix"
8279 uses : cachix/cachix-action@v15
@@ -147,8 +144,6 @@ jobs:
147144 prerelease : ${{ steps.input.outputs.prerelease }}
148145 body_path : dist/RELEASE_NOTES.md
149146 files : dist/*
150- env :
151- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
152147
153148 pypi-publish :
154149 name : Publish to PyPI
@@ -157,29 +152,11 @@ jobs:
157152 permissions :
158153 id-token : write
159154 steps :
160- - name : " [INIT] Checkout"
161- uses : actions/checkout@v5
162- with :
163- fetch-depth : 0
164-
165155 - name : " [DOWNLOAD] Artifacts"
166156 uses : actions/download-artifact@v4
167157 with :
168158 name : dist-artifacts
169159 path : dist/
170160
171- - name : " [INIT] Install Nix"
172- uses : cachix/install-nix-action@v31
173- with :
174- nix_path : nixpkgs=channel:nixos-unstable
175- github_access_token : ${{ secrets.GITHUB_TOKEN }}
176-
177- - name : " [INIT] Setup Cachix"
178- uses : cachix/cachix-action@v15
179- with :
180- name : amperser
181- authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
182-
183- - name : " [PUBLISH] PyPI via uv"
184- run : |
185- nix develop --command uv publish
161+ - name : " [PUBLISH] PyPI"
162+ uses : pypa/gh-action-pypi-publish@release/v1
0 commit comments