Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjanye committed Jul 5, 2024
1 parent 36b4866 commit 6b5855d
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,34 +30,36 @@ jobs:
run: dotnet test --verbosity minimal
working-directory: NinjaNye.SearchExtensions.Tests

# - name: Upload artifact
# uses: actions/upload-artifact@v4
# with:
# name: build-output
# path: NinjaNye.SearchExtensions/bin/Release

# deploy:
# needs: [build-and-test]
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
#
# - name: Setup .NET
# uses: actions/setup-dotnet@v4
# with:
# dotnet-version: '8.x'
#
# - name: Download artifact
# uses: actions/download-artifact@v4
# with:
# name: build-output
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: build-output
path: NinjaNye.SearchExtensions

deploy:
needs: [build-and-test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'

- name: Download artifact
uses: actions/download-artifact@v4
with:
name: build-output

- name: Pack
run: dotnet pack -c Release --no-build --output nuget-packages
working-directory: NinjaNye.SearchExtensions

- name: Log
run: ls -al ./nuget-packages
working-directory: NinjaNye.SearchExtensions

# - name: Push to NuGet
# run: dotnet nuget push ./nuget-packages/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}} --skip-duplicate
# working-directory: NinjaNye.SearchExtensions

0 comments on commit 6b5855d

Please sign in to comment.