File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,20 +54,14 @@ jobs:
5454 runs-on : ubuntu-latest
5555
5656 steps :
57- # - name: Checkout
58- # uses: actions/checkout@v4
59- # with:
60- # fetch-depth: 0
61- #
57+ - name : Checkout
58+ uses : actions/checkout@v4
59+ with :
60+ fetch-depth : 0
61+
6262 # - name: Changelog
6363 # uses: glennawatson/ChangeLog@v1
6464 # id: changelog
65-
66- # - uses: actions-ecosystem/action-regex-match@v2
67- # id: version-match
68- # with:
69- # text: ${{ github.ref }}
70- # regex: '^refs/tags/[vV]?(\\d+\\.\\d+\\.\\d+)'
7165
7266 - name : Download NuGet Packages
7367 uses : actions/download-artifact@v4
@@ -76,19 +70,11 @@ jobs:
7670
7771 - name : Upload Files
7872 env :
79- RELEASE_TAG : ${{ github.event.release.id }}
80- NUGET_FILES : ' **/*.nupkg'
81- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
82- run : gh release upload "$RELEASE_TAG" "$NUGET_FILES"
83-
84- # - name: Create Release
85- # uses: softprops/action-gh-release@v2
86- # with:
87- # tag_name: ${{ steps.version-match.ouputs.group1 }}
88- # body: |
89- # ${{ steps.changelog.outputs.commitLog }}
90- # files: |
91- # ${{ '**/*.nupkg' }}
73+ RELEASE_TAG : ${{ github.event.release.tag_name }}
74+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
75+ run : |
76+ NUGET_FILES=$(find . -name '*.nupkg')
77+ gh release upload "$RELEASE_TAG" $NUGET_FILES
9278
9379 publish :
9480 if : ${{ startsWith(github.ref, 'refs/heads/release') || github.ref == 'refs/heads/main' || github.event.release }}
You can’t perform that action at this time.
0 commit comments