Skip to content

Testing Versioning

Testing Versioning #4

Workflow file for this run

---
name: Publish Nuget
on:
push:
tags:
- "*"
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
jobs:
publish:
name: Publish Nuget
runs-on: ubuntu-latest
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.*
- name: Publish Reason
run: echo ${{github.ref}} and ${{github.event_name}}
- name: Get version from tag
run: run: echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

Check failure on line 22 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
- name: Test Output
run: echo $VERSION