Skip to content

Commit 1af9e91

Browse files
committed
2 parents 217626b + 1c98571 commit 1af9e91

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/patch.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- run: |
4848
git commit -am "Nuget ${{env.newTag}}"
4949
git push
50-
- run: git log ${{needs.setup-outputs.outputs.currentTag}}..master --format=format:'- [%s](https://github.com/TiLied/CSharpToJavaScript/commit/%H)%n' --output=./release.txt
50+
- run: git log ${{needs.setup-outputs.outputs.currentTag}}..master --format=format:'- [%s](https://github.com/TiLied/CSharpToJavaScript/commit/%H)' --output=./release.txt
5151
- name: Create Release
5252
id: create_release
5353
uses: softprops/action-gh-release@v2
@@ -72,11 +72,16 @@ jobs:
7272
- name: Publish NuGet package
7373
run: dotnet nuget push ./packages/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
7474
- run: cat ./CSharpToJavaScript.csproj
75-
- name: Upload artifact
75+
- name: Upload nuget artifact
7676
uses: actions/upload-artifact@v4
7777
with:
78-
name: CSharpToJavaScript-${{ env.newTag }}
79-
path: ./packages
78+
name: CSharpToJavaScript-nuget-${{ env.newTag }}
79+
path: ./packages/
80+
- name: Upload bin artifact
81+
uses: actions/upload-artifact@v4
82+
with:
83+
name: CSharpToJavaScript-bin-${{ env.newTag }}
84+
path: ./bin/Release/net10.0/
8085
- name: Environments
8186
run: |
8287
echo $newTag

0 commit comments

Comments
 (0)