Skip to content

Commit 2725bcf

Browse files
authored
Merge pull request #24 from Blazonia/develop
revert github action
2 parents 6b7badb + 826a18b commit 2725bcf

1 file changed

Lines changed: 2 additions & 15 deletions

File tree

.github/workflows/publish-release.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@ name: Build Nuget Packages
22

33
on:
44
workflow_dispatch:
5-
inputs:
6-
tagName:
7-
description: 'build tag name'
8-
required: false
9-
default: 'main'
10-
type: string
115

126
jobs:
137
build:
@@ -16,22 +10,15 @@ jobs:
1610
- uses: actions/checkout@v4
1711
with:
1812
fetch-depth: 0
19-
- name: checkout_branch ${{ github.event.inputs.tagName }}
20-
run: |
21-
git checkout tags/${{ github.event.inputs.tagName }}
22-
echo "checkout Tag ${{ github.event.inputs.tagName }} success"
23-
13+
filter: tree:0
2414
- name: Install .NET
2515
uses: actions/setup-dotnet@v4
2616
with:
27-
dotnet-version: 8.0.x'
28-
17+
dotnet-version: '8.0.x'
2918
- name: Pack Blazonia nugets
3019
run: dotnet pack ./src/Blazonia/Blazonia.csproj -o ./packages -c Release
31-
3220
- name: PackBlazonia nugets
3321
run: dotnet pack ./src/Blazonia.ComponentGenerator/Blazonia.ComponentGenerator.csproj -o ./packages -c Release
34-
3522
- name: Upload a Build Artifact
3623
uses: actions/upload-artifact@v4
3724
with:

0 commit comments

Comments
 (0)