Skip to content

Commit

Permalink
Hail Mary
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberzed committed Jul 4, 2023
1 parent ccbfb34 commit 88f5dcc
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions .github/workflows/nuget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,18 @@ jobs:
run: |
version=$(echo ${{ github.event.release.tag_name }} | cut -d- -f1 | cut -dv -f2)
echo "VERSION=${version}" >> $GITHUB_ENV
- name: Dump env
run: env | sort
# - name: Build
# working-directory: ./src
# run: dotnet build /p:Version=${VERSION}
# - name: Test
# working-directory: ./src
# run: dotnet test /p:Version=${VERSION} --no-build
# - name: Pack
# working-directory: ./src
# run: dotnet pack /p:Version=${VERSION} --no-build --output .
# - uses: actions/upload-artifact@v3
# if: success() || failure()
# with:
# name: nuget-artifact
# path: '**/*.nupkg'
# retention-days: 1
- name: Build
working-directory: ./src
run: dotnet build /p:Version=${VERSION}
- name: Test
working-directory: ./src
run: dotnet test /p:Version=${VERSION} --no-build
- name: Pack
working-directory: ./src
run: dotnet pack /p:Version=${VERSION} --no-build --output .
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: nuget-artifact
path: '**/*.nupkg'
retention-days: 1

0 comments on commit 88f5dcc

Please sign in to comment.