File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -764,4 +764,38 @@ jobs:
764
764
to the just published release back to GitHub
765
765
run: >-
766
766
git push --atomic origin '${{ needs.pre-setup.outputs.git-tag }}'
767
+
768
+ publish-github-release :
769
+ name : >-
770
+ Publish a GitHub Release for
771
+ ${{ needs.pre-setup.outputs.git-tag }}
772
+ needs :
773
+ - post-release-repo-update
774
+ - pre-setup # transitive, for accessing settings
775
+ runs-on : Ubuntu-latest
776
+
777
+ permissions :
778
+ contents : write
779
+
780
+ steps :
781
+ - name : Download all the dists
782
+ uses : actions/download-artifact@v2
783
+ with :
784
+ name : python-package-distributions
785
+ path : dist/
786
+
787
+ - name : >-
788
+ Publish a GitHub Release for
789
+ ${{ needs.pre-setup.outputs.git-tag }}
790
+ uses: softprops/action-gh-release@v1
791
+ with:
792
+ # body/body_path: # FIXME: Use once Towncrier is integrated.
793
+ discussion_category_name: Announcements
794
+ fail_on_unmatched_files: true
795
+ files: |
796
+ dist/${{ needs.pre-setup.outputs.sdist-artifact-name }}
797
+ dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}
798
+ name: ${{ needs.pre-setup.outputs.git-tag }}
799
+ tag_name: ${{ needs.pre-setup.outputs.git-tag }}
800
+ target_commitish: ${{ github.event.inputs.release-commitish }}
767
801
...
You can’t perform that action at this time.
0 commit comments