Skip to content

Commit

Permalink
Update GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
justinyoo committed Nov 5, 2023
1 parent 45edeb4 commit 1f13458
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/azure-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,23 @@ jobs:
- name: Restore NuGet packages
shell: bash
run: |
dotnet restore
dotnet restore src/YouTubeSummariser.sln
- name: Build solution
shell: bash
run: |
dotnet build -c Release
dotnet build src/YouTubeSummariser.sln -c Release
- name: Test solution
shell: bash
run: |
dotnet test -c Release
dotnet test src/YouTubeSummariser.sln -c Release
- name: Create artifacts
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'workflow_dispatch'
shell: bash
run: |
dotnet publish -c Release
dotnet publish src/YouTubeSummariser.sln -c Release
- name: Upload artifact - API
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'workflow_dispatch'
Expand Down

0 comments on commit 1f13458

Please sign in to comment.