Skip to content

Commit ea7096c

Browse files
authored
Update release.yml
Fix spaces
1 parent ef3cd93 commit ea7096c

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,15 @@ jobs:
1414
run: |
1515
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
1616
git branch --remote --contains | grep origin/master
17-
- name: Set VERSION variable from tag
18-
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
19-
- name: Setup dotnet
20-
uses: actions/setup-dotnet@v3
21-
with:
22-
dotnet-version: ${{ env.DOTNET_VERSION }}
23-
- name: Build
24-
run: dotnet build --configuration Release /p:Version=${VERSION}
25-
- name: Pack
26-
run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output .
17+
- name: Set VERSION variable from tag
18+
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
19+
- name: Build
20+
run: dotnet build --configuration Release /p:Version=${VERSION}
21+
- name: Pack
22+
run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output .
23+
24+
25+
2726

2827

2928

0 commit comments

Comments
 (0)