Skip to content

Commit 88f5dcc

Browse files
committed
Hail Mary
1 parent ccbfb34 commit 88f5dcc

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

.github/workflows/nuget.yaml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,18 @@ jobs:
2727
run: |
2828
version=$(echo ${{ github.event.release.tag_name }} | cut -d- -f1 | cut -dv -f2)
2929
echo "VERSION=${version}" >> $GITHUB_ENV
30-
- name: Dump env
31-
run: env | sort
32-
# - name: Build
33-
# working-directory: ./src
34-
# run: dotnet build /p:Version=${VERSION}
35-
# - name: Test
36-
# working-directory: ./src
37-
# run: dotnet test /p:Version=${VERSION} --no-build
38-
# - name: Pack
39-
# working-directory: ./src
40-
# run: dotnet pack /p:Version=${VERSION} --no-build --output .
41-
# - uses: actions/upload-artifact@v3
42-
# if: success() || failure()
43-
# with:
44-
# name: nuget-artifact
45-
# path: '**/*.nupkg'
46-
# retention-days: 1
30+
- name: Build
31+
working-directory: ./src
32+
run: dotnet build /p:Version=${VERSION}
33+
- name: Test
34+
working-directory: ./src
35+
run: dotnet test /p:Version=${VERSION} --no-build
36+
- name: Pack
37+
working-directory: ./src
38+
run: dotnet pack /p:Version=${VERSION} --no-build --output .
39+
- uses: actions/upload-artifact@v3
40+
if: success() || failure()
41+
with:
42+
name: nuget-artifact
43+
path: '**/*.nupkg'
44+
retention-days: 1

0 commit comments

Comments
 (0)