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 e3b50be commit 02a6c89
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,36 +30,28 @@ jobs:
- name: Test
run: dotnet test --verbosity minimal

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: build-output
path: .

deploy:
needs: [build-and-test]
runs-on: ubuntu-latest
defaults:
run:
working-directory: NinjaNye.SearchExtensions
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: Log
run: ls -al .

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

- 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
Expand Down

0 comments on commit 02a6c89

Please sign in to comment.