Skip to content

Commit

Permalink
ci: Update CI configuration to .NET 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oboukli committed Jun 8, 2024
1 parent a7c241c commit 94f2ce1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ jobs:
env:
AKTABOOK_ENVIRONMENT: Test
AKTABOOK_INTEGRATION_TEST_ENVIRONMENT: Test
BUS_HOST_PID_FILE: src/Aktabook.Bus/bin/Release/net6.0/aktabook-bus.pid
BUS_BIN_DIR: src/Aktabook.Bus/bin/Release/net8.0/
BUS_HOST_PID_FILE: src/Aktabook.Bus/bin/Release/net8.0/aktabook-bus.pid
BUS_LOGS_DIR: src/Aktabook.Bus/bin/Release/net8.0/Logs/
RequesterServiceBus__RabbitMQConnectionOptions__HostName: localhost
RequesterServiceBus__RabbitMQConnectionOptions__Password: ${{ secrets.RABBITMQ_INTEGRATION_TEST_PASSWORD }}
RequesterServiceBus__RabbitMQConnectionOptions__PortNumber: 5672
Expand Down Expand Up @@ -240,7 +242,7 @@ jobs:
--background
coverage_session
./Aktabook.Bus
working-directory: src/Aktabook.Bus/bin/Release/net6.0/
working-directory: ${{ env.BUS_BIN_DIR }}

- name: Wait for bus readiness check
env:
Expand Down Expand Up @@ -339,15 +341,15 @@ jobs:
with:
if-no-files-found: error
name: bus-logs
path: src/Aktabook.Bus/bin/Release/net6.0/Logs
path: ${{ env.BUS_LOGS_DIR }}

- name: Upload public API logs
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: public-api-logs
path: src/Aktabook.Bus/bin/Release/net6.0/Logs
path: ${{ env.BUS_LOGS_DIR }}

unit_test:
name: Unit test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
name: Publish for Ubuntu
runs-on: ubuntu-latest
env:
AKTABOOK_DOTNET_FRAMWORK: net6.0
AKTABOOK_DOTNET_RUNTIME_TARGET: ubuntu.22.04-x64
AKTABOOK_DOTNET_FRAMWORK: net8.0
AKTABOOK_DOTNET_RUNTIME_TARGET: linux-x64
AKTABOOK_PUBLISH_PATH_ROOT: ${{ github.workspace }}/publish
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NUGET_SIGNATURE_VERIFICATION: true
Expand Down

0 comments on commit 94f2ce1

Please sign in to comment.