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