Fixing release CI (#95)

This commit is contained in:
Zoe Roux 2022-03-23 20:51:21 +01:00 committed by GitHub
parent bec0ae41f1
commit e19adb76e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 23 deletions

View File

@ -1,7 +1,7 @@
name: Release
on:
create:
push:
tags:
- v*
workflow_dispatch:
@ -31,15 +31,15 @@ jobs:
workflow: build.yml
path: ./artifacts
github_token: ${{secrets.GITHUB_TOKEN}}
- name: Public the abstractions to nuget
id: publish_nuget
uses: rohith/publish-nuget@v2
with:
PROJECT_FILE_PATH: Kyoo.Abstractions/Kyoo.Abstractions.csproj
PACKAGE_NAME: Kyoo.Abstractions
VERSION_REGEX: ^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
INCLUDE_SYMBOLS: true
# - name: Public the abstractions to nuget
# id: publish_nuget
# uses: rohith/publish-nuget@v2
# with:
# PROJECT_FILE_PATH: Kyoo.Abstractions/Kyoo.Abstractions.csproj
# PACKAGE_NAME: Kyoo.Abstractions
# VERSION_REGEX: ^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$
# NUGET_KEY: ${{secrets.NUGET_API_KEY}}
# INCLUDE_SYMBOLS: true
- name: Create Release
uses: ncipollo/release-action@v1
with: