Skip to content

Commit c68268a

Browse files
Merge pull request #2 from naeemaei/feat/src-directory
Move source codes to src directory
2 parents 3172b5a + 4cf5b27 commit c68268a

File tree

17 files changed

+8
-5
lines changed

17 files changed

+8
-5
lines changed

.github/workflows/dotnet.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ jobs:
1919
dotnet-version: 6.0.x
2020
- name: Restore dependencies
2121
run: dotnet restore
22+
working-directory: src
2223
- name: Build
2324
run: dotnet build --no-restore
25+
working-directory: src
2426
- name: Test
2527
run: dotnet test --no-build --verbosity normal
28+
working-directory: src

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ jobs:
1717
git branch --remote --contains | grep origin/master
1818
- name: Set VERSION variable from tag
1919
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
20-
working-directory: HttpClientToCurl
20+
working-directory: src/HttpClientToCurl
2121
- name: Build
2222
run: dotnet build --configuration Release /p:Version=${VERSION}
23-
working-directory: HttpClientToCurl
23+
working-directory: src/HttpClientToCurl
2424
- name: Test
2525
run: dotnet test --configuration Release /p:Version=${VERSION} --no-build
26-
working-directory: HttpClientToCurl
26+
working-directory: src/HttpClientToCurl
2727
- name: Pack
2828
run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output .
29-
working-directory: HttpClientToCurl
29+
working-directory: src/HttpClientToCurl
3030
- name: Push
3131
run: dotnet nuget push HttpClientToCurl.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${GITHUB_TOKEN}
32-
working-directory: HttpClientToCurl
32+
working-directory: src/HttpClientToCurl
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.NUGET_API_KEY }}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)