Skip to content

Fixing version flag

Fixing version flag #5

Workflow file for this run

name: release build
on:
push:
branches: ["develop"]
tags:
- '**'
jobs:
build_job:
uses: ./.github/workflows/compile.yml
nuget_job:
needs: build_job
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
- uses: nuget/setup-nuget@v1
- name: download release
uses: actions/download-artifact@v4
with:
name: release
path: dist\release
- name: nuspec pack
shell: pwsh
run: |
nuget pack .\DotNetSDataClient.nuspec -properties version=${{ github.ref_name }} -OutputDirectory dist\nuget
- name: store artifacts
uses: actions/upload-artifact@v4
with:
name: nuget
path: dist\nuget