Update GitHub Actions workflow for new release
The GitHub Actions workflow configuration has been updated to target the '3.0.1' branch instead of 'main'. Furthermore, the preview version set in the workflow has been updated to '3.0.1-preview', changing from the previous '3.0.0-preview'.
This commit is contained in:
parent
7c632a5b55
commit
6baaa2a59f
4
.github/workflows/packages.yml
vendored
4
.github/workflows/packages.yml
vendored
|
|
@ -3,7 +3,7 @@ on:
|
|||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- 3.0.1
|
||||
tags:
|
||||
- hotfix-* # e.g. 3.0.0-hotfix-1
|
||||
release:
|
||||
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
TAG_NAME=${TAG_NAME#refs/tags/} # remove the refs/tags/ prefix
|
||||
echo "VERSION=${TAG_NAME}" >> $GITHUB_ENV
|
||||
else
|
||||
echo "VERSION=3.0.0-preview.${{github.run_number}}" >> $GITHUB_ENV
|
||||
echo "VERSION=3.0.1-preview.${{github.run_number}}" >> $GITHUB_ENV
|
||||
fi
|
||||
- name: Build
|
||||
run: dotnet build --configuration Release /p:Version=${VERSION}
|
||||
|
|
|
|||
Loading…
Reference in a new issue