try with net6 and list dirs #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
6.0.x | |
- name: List directory contents | |
run: ls -la ./Thirdweb/bin/Release/ | |
- name: Display Directory.Build.props | |
run: cat Directory.Build.props | |
- name: Restore dependencies | |
run: dotnet restore | |
working-directory: ./ | |
- name: Build | |
run: dotnet build --no-restore -c Release | |
working-directory: ./ | |
- name: Test | |
run: dotnet test --no-build --verbosity normal | |
working-directory: ./ |