Update .gitea/workflows/build_publish.yml
This commit is contained in:
@@ -60,7 +60,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v6
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: nuget
|
name: nuget
|
||||||
path: ./SimpleToolkit.Extensions.nupkg
|
path: ./SimpleToolkit.Extensions.${{needs.version.outputs.version}}.nupkg
|
||||||
outputs:
|
outputs:
|
||||||
version: ${{needs.version.outputs.version}}
|
version: ${{needs.version.outputs.version}}
|
||||||
publish:
|
publish:
|
||||||
@@ -77,11 +77,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dotnet-version: 8.0.x
|
dotnet-version: 8.0.x
|
||||||
- name: Publish
|
- name: Publish
|
||||||
run: dotnet nuget push ./SimpleToolkit.Extensions.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_KEY }}
|
run: dotnet nuget push ./SimpleToolkit.Extensions.${{needs.pack.outputs.version}}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_KEY }}
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
tag_name: ${{needs.pack.outputs.version}}
|
tag_name: ${{needs.pack.outputs.version}}
|
||||||
name: ${{needs.pack.outputs.version}}
|
name: ${{needs.pack.outputs.version}}
|
||||||
files: |-
|
files: |-
|
||||||
SimpleToolkit.Extensions.nupkg
|
SimpleToolkit.Extensions.${{needs.pack.outputs.version}}.nupkg
|
||||||
Reference in New Issue
Block a user