Skip to content

Commit

Permalink
Set working-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeoriani committed Jun 4, 2024
1 parent 9a85b51 commit 10d19c8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Fynance

on:
push:
Expand All @@ -8,10 +8,6 @@ on:
branches:
- main

defaults:
run:
working-directory: ./src

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -27,14 +23,18 @@ jobs:

- name: Install dependencies
run: dotnet restore
working-directory: ./src

- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: ./src

- name: Test
run: dotnet test --no-restore --verbosity normal --configuration Release
working-directory: ./src

- name: Create NuGet package
run: dotnet pack --configuration Release --no-build --output ./nupkg
working-directory: ./src
# - name: Publish Nuget
# run: dotnet nuget push ./Fynance/bin/Release/*.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --skip-duplicate --source "https://api.nuget.org/v3/index.json"

0 comments on commit 10d19c8

Please sign in to comment.