[CI] Add nuget beta build support (#3113)

This commit is contained in:
Mihail Gribkov
2025-05-08 20:51:08 +03:00
committed by GitHub
parent c39849df43
commit d0a78d73f9
2 changed files with 8 additions and 4 deletions

View File

@@ -1,8 +1,5 @@
name: Dotnet Build
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
on:
push:
branches: ["dev"]
@@ -35,6 +32,12 @@ jobs:
- name: Is Tag Build
if: startsWith(github.ref, 'refs/tags/')
run: echo "IsTagBuild=true" >> $GITHUB_ENV
- name: Generate Beta Suffix
if: startsWith(github.ref, 'refs/tags/') && contains(github.ref_name, '/')
env:
REF_NAME: ${{ github.ref_name }}
run: echo "Suffix=${REF_NAME##*/}" >> $GITHUB_ENV
- name: Generate Suffix
if: env.IsTagBuild != 'true'