File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments