Skip to content

Merge pull request #94 from Nexus-Mods/behavior-subject-fixes #84

Merge pull request #94 from Nexus-Mods/behavior-subject-fixes

Merge pull request #94 from Nexus-Mods/behavior-subject-fixes #84

name: Publish NuGet Packages
on:
push:
tags:
- 'v*'
jobs:
get-version:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.get-version.outputs.version }}
steps:
- name: Get version
id: get-version
shell: pwsh
run: |
$version = [System.Version]::Parse("${{ github.ref_name }}".Replace('v', '')).ToString()
echo "version=$version" >> $env:GITHUB_OUTPUT
echo $version
publish:
needs: get-version
uses: Nexus-Mods/NexusMods.App.Meta/.github/workflows/publish-nuget-packages.yaml@main
with:
version: ${{ needs.get-version.outputs.version }}
use-nuget: true
use-github: false
secrets:
NUGET_API_KEY: ${{ secrets.NUGET_KEY }}