Skip to content

Commit 495d11e

Browse files
committed
Moved files to ./src/ folder
1 parent ae176ac commit 495d11e

File tree

91 files changed

+13
-67
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+13
-67
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ jobs:
2323
uses: docker/setup-compose-action@v1
2424

2525
- name: Start Docker Compose services
26-
working-directory: ./NullOpsDevs.LibSsh.Test
26+
working-directory: ./src/NullOpsDevs.LibSsh.Test
2727
run: docker compose up -d
2828

2929
- name: Build test project (Release)
30-
run: dotnet build -c Release --self-contained -r linux-x64 ./NullOpsDevs.LibSsh.Test/NullOpsDevs.LibSsh.Test.csproj
30+
run: dotnet build -c Release --self-contained -r linux-x64 ./src/NullOpsDevs.LibSsh.Test/NullOpsDevs.LibSsh.Test.csproj
3131

3232
- name: Run tests
33-
working-directory: ./NullOpsDevs.LibSsh.Test/bin/Release/net9.0/linux-x64/
33+
working-directory: ./src/NullOpsDevs.LibSsh.Test/bin/Release/net9.0/linux-x64/
3434
run: ./NullOpsDevs.LibSsh.Test
3535

3636
- name: Cleanup Docker Compose
3737
if: always()
38-
working-directory: ./NullOpsDevs.LibSsh.Test
38+
working-directory: ./src/NullOpsDevs.LibSsh.Test
3939
run: docker compose down -v
4040

4141
publish:
@@ -61,10 +61,10 @@ jobs:
6161
echo "Building version: $TAG_NAME"
6262
6363
- name: Build library with version
64-
run: dotnet build -c Release /p:Version=${{ steps.get_version.outputs.VERSION }} ./NullOpsDevs.LibSsh/NullOpsDevs.LibSsh.csproj
64+
run: dotnet build -c Release /p:Version=${{ steps.get_version.outputs.VERSION }} ./src/NullOpsDevs.LibSsh/NullOpsDevs.LibSsh.csproj
6565

6666
- name: Pack NuGet package
67-
run: dotnet pack -c Release --no-build /p:Version=${{ steps.get_version.outputs.VERSION }} ./NullOpsDevs.LibSsh/NullOpsDevs.LibSsh.csproj -o ./artifacts
67+
run: dotnet pack -c Release --no-build /p:Version=${{ steps.get_version.outputs.VERSION }} ./src/NullOpsDevs.LibSsh/NullOpsDevs.LibSsh.csproj -o ./artifacts
6868

6969
- name: Publish to NuGet
7070
run: dotnet nuget push ./artifacts/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,26 @@ jobs:
2323
uses: docker/setup-compose-action@v1
2424

2525
- name: Start Docker Compose services
26-
working-directory: ./NullOpsDevs.LibSsh.Test
26+
working-directory: ./src/NullOpsDevs.LibSsh.Test
2727
run: docker compose up -d
2828

2929
- name: Setup SSH Agent
3030
run: |
3131
eval $(ssh-agent -s)
3232
echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" >> $GITHUB_ENV
3333
echo "SSH_AGENT_PID=$SSH_AGENT_PID" >> $GITHUB_ENV
34-
cp NullOpsDevs.LibSsh.Test/docker/test-keys/id_rsa /tmp/id_rsa
34+
cp src/NullOpsDevs.LibSsh.Test/docker/test-keys/id_rsa /tmp/id_rsa
3535
chmod 600 /tmp/id_rsa
3636
ssh-add /tmp/id_rsa
3737
3838
- name: Build test project (Release)
39-
run: dotnet build -c Release --self-contained -r linux-x64 ./NullOpsDevs.LibSsh.Test/NullOpsDevs.LibSsh.Test.csproj
39+
run: dotnet build -c Release --self-contained -r linux-x64 ./src/NullOpsDevs.LibSsh.Test/NullOpsDevs.LibSsh.Test.csproj
4040

4141
- name: Run tests
42-
working-directory: ./NullOpsDevs.LibSsh.Test/bin/Release/net9.0/linux-x64/
42+
working-directory: ./src/NullOpsDevs.LibSsh.Test/bin/Release/net9.0/linux-x64/
4343
run: ./NullOpsDevs.LibSsh.Test
4444

4545
- name: Cleanup Docker Compose
4646
if: always()
47-
working-directory: ./NullOpsDevs.LibSsh.Test
47+
working-directory: ./src/NullOpsDevs.LibSsh.Test
4848
run: docker compose down -v

NullOpsDevs.LibSsh/generate.rsp

Lines changed: 0 additions & 54 deletions
This file was deleted.
File renamed without changes.

NullOpsDevs.LibSsh.Test/NullOpsDevs.LibSsh.Test.csproj renamed to src/NullOpsDevs.LibSsh.Test/NullOpsDevs.LibSsh.Test.csproj

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)