diff --git a/.github/workflows/samples-console-app-with-di.ci.yml b/.github/workflows/samples-console-app-with-di.ci.yml index ccbbf2e53..215948cc4 100644 --- a/.github/workflows/samples-console-app-with-di.ci.yml +++ b/.github/workflows/samples-console-app-with-di.ci.yml @@ -39,9 +39,9 @@ jobs: fetch-depth: 1 - name: .NET SDK のセットアップ - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: - global-json-file: samples/ConsoleAppWithDI/solution/global.json + dotnet-version: "8.*" - id: application-build name: アプリケーションのビルド diff --git a/.github/workflows/samples-dressca-backend.ci.yml b/.github/workflows/samples-dressca-backend.ci.yml index 8a5e06826..314027743 100644 --- a/.github/workflows/samples-dressca-backend.ci.yml +++ b/.github/workflows/samples-dressca-backend.ci.yml @@ -40,9 +40,9 @@ jobs: fetch-depth: 1 - name: .NET SDK のセットアップ - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: - global-json-file: samples/Dressca/dressca-backend/global.json + dotnet-version: '8.*' - name: NuGet パッケージの復元 run: dotnet restore @@ -74,8 +74,8 @@ jobs: env: APPSETTINGS_FILEPATH: tests/Dressca.IntegrationTest/appsettings.${{ env.TEST_ENVIRONMENT }}.json run: | - connectionString=$(cat ${{env.APPSETTINGS_FILEPATH}} | jq '.ConnectionStrings.DresscaDbContext') - echo "CONNECTION_STRING=${connectionString}" >> "$GITHUB_OUTPUT" + connectionString=$(cat ${{env.APPSETTINGS_FILEPATH}} | jq '.ConnectionStrings.DresscaDbContext') + echo "CONNECTION_STRING=${connectionString}" >> "$GITHUB_OUTPUT" - name: EF Core ツールのインストール(結合テスト用) shell: bash