Skip to content

Commit

Permalink
Merge 608cf20 into 50e9f43
Browse files Browse the repository at this point in the history
  • Loading branch information
helto4real committed Mar 23, 2020
2 parents 50e9f43 + 608cf20 commit 60e7d68
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/tags_nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,24 @@ on:
push:
tags:
- '*'

jobs:
deploy_nuget:
name: publish nuget packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-dotnet@v1
- name: Get Git Version
uses: docker://gittools/gitversion:5.2.5-beta1-7-linux-netcoreapp2.1
with:
args: /github/workspace /nofetch /exec /bin/sh /execargs "-c \"echo $GitVersion_FullSemVer > /github/workspace/version.txt\""
- name: publish on version change
uses: rohith/publish-nuget@v2
with:
PROJECT_FILE_PATH: src/DaemonRunner/DaemonRunner/DaemonRunner.csproj # Relative to repository root
VERSION_STATIC: ${GIT_TAG_NAME}-alpha
VERSION_STATIC: ${{GIT_TAG_NAME}}-alpha
NUGET_KEY: ${{secrets.NUGET_API_KEY}} # nuget.org API key
# VERSION_FILE_PATH: Directory.Build.props # Filepath with version info, relative to repository root. Defaults to project file
# VERSION_REGEX: <Version>(.*)<\/Version> # Regex pattern to extract version info in a capturing group
# TAG_COMMIT: true # Flag to enable / disalge git tagging
# TAG_FORMAT: v* # Format of the git tag, [*] gets replaced with version
# NUGET_KEY: ${{secrets.NUGET_API_KEY}} # nuget.org API key
# PACKAGE_NAME: NuGet package name, required when it's different from project name. Defaults to project name
# - name: Build code
# run: dotnet build
Expand Down

0 comments on commit 60e7d68

Please sign in to comment.